mirror of
https://github.com/actions/setup-node.git
synced 2024-12-23 00:58:42 +08:00
chore: add line-ending to gitattribute
This commit is contained in:
parent
a83bf51129
commit
63fffe4411
4
.gitattributes
vendored
Normal file
4
.gitattributes
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# Set default behavior to automatically normalize line endings, and force everything to be LF, except for Windows batch files that require CRLF, so that if a repo is accessed in Unix via a file share from Windows, the scripts will work.
|
||||||
|
* text=auto eol=lf
|
||||||
|
*.{cmd,[cC][mM][dD]} text eol=crlf
|
||||||
|
*.{bat,[bB][aA][tT]} text eol=crlf
|
Loading…
Reference in New Issue
Block a user