Update .gitattributes to workaround npm changing line endings (#1610)

This commit is contained in:
Mike Harder 2018-03-15 19:41:57 -07:00 committed by Andrew Stanton-Nurse
parent 2d6077db4a
commit b0e5483a5c
1 changed files with 6 additions and 0 deletions

6
.gitattributes vendored
View File

@ -50,3 +50,9 @@
*.sln text=auto eol=crlf
*.sh eol=lf
# Workaround for npm changing line endings from CRLF to LF on Windows. Should be fixed in npm 5.8.0.
# https://github.com/npm/npm/issues/17161#issuecomment-337696678
# https://github.com/npm/npm/releases/tag/v5.8.0-next.0
package.json text eol=lf
package-lock.json text eol=lf