jhnns / rewire

Easy monkey-patching for node.js unit tests
MIT License
3.08k stars 128 forks source link

Change line endings from carriage returns to line feeds #169

Closed rensbaardman closed 2 years ago

rensbaardman commented 5 years ago

Some files still had Windows-still carriage return (\r\n) line endings. Messes up git tools.

Wanted to do this in a seperate commit / PR, as to cause as little 'git blame'-noise as possible.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 97.619% when pulling d3cbd02b3d9de6cbfb518c31f9c70472508912c3 on rensbaardman:change-carriage-returns into 5bea3d816d0258e5204f1b49b08b9fb302ac53e1 on jhnns:master.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 97.619% when pulling 3cce8799df8f163b62f8a24cba2f0322b4edc93c on rensbaardman:change-carriage-returns into 5bea3d816d0258e5204f1b49b08b9fb302ac53e1 on jhnns:master.

XhmikosR commented 5 years ago

@rensbaardman you should add a .gitattributes file and enforce LF so that this does not happen again.

# Enforce Unix newlines
* text=auto eol=lf
jhnns commented 2 years ago

Published as v6.0.0 🚀