Closed MSLilah closed 9 years ago
@highb This should fix the issue you were seeing in the HOCON module.
@fpringvaldsen Yep! Just tested this gem out via the hocon module, and it doesn't create single line config files anymore! ;) Thanks for doing this!
:+1:
Just waiting on travis, then I'll merge it
Previously there was a bug wherein building out a config starting from an empty ConfigDocument would cause the entire config to exist on a single line. Fix this bug by modifying the addition of new maps along a path to add multi-line maps instead of single-line maps if the object being added to is an empty root or a multi-line object.
This PR is based on https://github.com/typesafehub/config/pull/333.