summaryrefslogtreecommitdiff
path: root/lib/leap_cli
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2014-10-05 22:56:20 -0700
committerelijah <elijah@riseup.net>2014-10-05 22:56:20 -0700
commit5ee57cffa04dafd9174a47d7f9f29e5ed16d6927 (patch)
treebc1e55484ca52ac1709a625258516fd7147303b1 /lib/leap_cli
parentcfd626dc6c067a6465e962f3eeaa182cda994dba (diff)
ensure arrays are always sorted when exported to yaml
Diffstat (limited to 'lib/leap_cli')
-rw-r--r--lib/leap_cli/config/object.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/config/object.rb b/lib/leap_cli/config/object.rb
index cfa07cb..2d66581 100644
--- a/lib/leap_cli/config/object.rb
+++ b/lib/leap_cli/config/object.rb
@@ -40,7 +40,7 @@ module LeapCli
#
def dump_yaml
evaluate(@node)
- ya2yaml(:syck_compatible => true)
+ sorted_ya2yaml(:syck_compatible => true)
end
#