microsoft / dts-gen

dts-gen creates starter TypeScript definition files for any module or library.
MIT License
2.43k stars 102 forks source link

Generates DOS line endings on Linux #74

Open adamvoss opened 7 years ago

adamvoss commented 7 years ago

Running dts-gen -m ... on Linux generates a file that uses \CR\LF line endings. I have inevitably ended up committing theses into git repositories even though that choice of EOL character does not match any other file in the repo (on windows automatic conversion when committing and checking out is probably enabled system wide).

It would be nice if dts-gen used the line endings that are standard for the target platform.