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

Avoid unnecessary line break at end of files; EOL type detection #50

Open
wants to merge 1 commit into
base: senpai
Choose a base branch
from

Conversation

Frederick888
Copy link

When the original file hasn't got a line break at the end, we shouldn't
insert one, either.

And additionally along with the fix above, we should detect if the
original file uses CRLF or LF. CR is not supported.

Closes #48.

When the original file hasn't got a line break at the end, we shouldn't
insert one, either.

And additionally along with the fix above, we should detect if the
original file uses CRLF or LF. CR is not supported.

Closes ms-jpq#48.
@ms-jpq
Copy link
Owner

ms-jpq commented Jan 29, 2021

thanks but i cant merge this until i pull out async-std and replace the channels with their separate package, or else it wont compile anyways

😔

been focusing on other projects recently so this might take a few says

@Frederick888
Copy link
Author

@ms-jpq Sure if you have other projects to work on atm, just merge this one when you've got time to clear out the blockers. I can easily patch this locally :)

@ms-jpq
Copy link
Owner

ms-jpq commented Feb 17, 2021

ok i solved all the dependency issues, this one is next

@ms-jpq
Copy link
Owner

ms-jpq commented Jun 20, 2021

88036cd

I fix it

@ms-jpq
Copy link
Owner

ms-jpq commented Jun 20, 2021

One more issue is maybe rust doesnt split '\r' on '\n', but I gotta do stuff so I guess thats for tomorrow

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

Successfully merging this pull request may close these issues.

sad inserts line break at the end of files
2 participants