summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/config/manager.rb')
-rw-r--r--lib/leap_cli/config/manager.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb
index 8807cc9..246b79f 100644
--- a/lib/leap_cli/config/manager.rb
+++ b/lib/leap_cli/config/manager.rb
@@ -1,5 +1,4 @@
require 'json/pure'
-require 'yaml'
module LeapCli
module Config
@@ -42,7 +41,7 @@ module LeapCli
@nodes.each do |name, node|
filepath = "#{dir}/#{name}.yaml"
updated_files << filepath
- Util::write_file!(filepath, node.to_yaml)
+ Util::write_file!(filepath, node.dump)
end
(existing_files - updated_files).each do |filepath|
Util::remove_file!(filepath)