cson icon indicating copy to clipboard operation
cson copied to clipboard

Ensure a newline is at the end of the file

Open danielbayley opened this issue 9 years ago • 3 comments

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?

danielbayley avatar Oct 04 '16 20:10 danielbayley

Not sure why they would do this?

balupton avatar Apr 09 '17 19:04 balupton

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

ghost avatar Jun 04 '18 07:06 ghost

okie, PR welcome

balupton avatar Jun 04 '18 07:06 balupton