From 5ee57cffa04dafd9174a47d7f9f29e5ed16d6927 Mon Sep 17 00:00:00 2001 From: elijah Date: Sun, 5 Oct 2014 22:56:20 -0700 Subject: ensure arrays are always sorted when exported to yaml --- lib/leap_cli/config/object.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli') 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 # -- cgit v1.2.3