bevry / cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.
Other
1.34k stars 55 forks source link

Ensure a newline is at the end of the file #75

Open danielbayley opened 7 years ago

danielbayley commented 7 years ago

Neither cson2json or json2cson append a newline at the end of the file they generate; shouldn't they default to this behaviour? Or maybe a -newline command line flag if not?

balupton commented 7 years ago

Not sure why they would do this?

ghost commented 6 years ago

@balupton https://stackoverflow.com/questions/729692/why-should-text-files-end-with-a-newline

balupton commented 6 years ago

okie, PR welcome