lib/aws/cfn/compiler.rb in aws-cfn-compiler-0.2.5 vs lib/aws/cfn/compiler.rb in aws-cfn-compiler-0.2.6
- old
+ new
@@ -103,10 +103,10 @@
end
end
end
File.open output_file, 'w' do |f|
- f.write JSON.pretty_generate(hash)
+ f.write JSON.pretty_generate(hash, { indent: "\t", space: ' '})
end
puts ' Compiled file written.'
rescue
puts "!!! Could not write compiled file: #{$!}"
abort!