Closed Slayer95 closed 9 years ago
Maybe we should have the test accept CRLFs if the platform is Windows?
That isn't an ideal solution, though...
Might be better to force CRLF's in Windows?
Wow, a few days ago I was thinking "it would be awesome if the os
package had a feature to get EOL", and it turns out it does... I'll use it.
In Windows, a fresh clone of the repository will yield "Invalid line break" errors when running
npm test
due to its usage of CRLF in the working copy (despite the index having only LF).I have been trying to fix this adding a
.gitattributes
file and cloning again, but Windows/Git seems to keep converting line endings :|