sad
sad copied to clipboard
Avoid unnecessary line break at end of files; EOL type detection
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.
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
@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 :)
ok i solved all the dependency issues, this one is next
https://github.com/ms-jpq/sad/commit/88036cd32f1305a570a0b1603f2ef11857dddcda
I fix it
One more issue is maybe rust doesnt split '\r' on '\n', but I gotta do stuff so I guess thats for tomorrow