Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
danielbayley opened this issue Oct 4, 2016 · 3 comments
Open

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

danielbayley opened this issue Oct 4, 2016 · 3 comments

Comments

@danielbayley
Copy link

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
Copy link
Member

balupton commented Apr 9, 2017

Not sure why they would do this?

@ghost
Copy link

ghost commented Jun 4, 2018

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

@balupton
Copy link
Member

balupton commented Jun 4, 2018

okie, PR welcome

@balupton balupton changed the title No newline at end of file Ensure a newline is at the end of the file Aug 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants