mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 01:34:19 +08:00
Use Unix line endings for shell scripts (#15180)
These changes fix [SC1017](https://github.com/koalaman/shellcheck/wiki/SC1017)
This commit is contained in:
parent
be9b14a296
commit
e118f7edb9
@ -21,6 +21,7 @@ indent_size = 4
|
||||
|
||||
# Shell scripts
|
||||
[*.sh]
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
|
||||
# Xml project files
|
||||
|
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -2,5 +2,6 @@ CHANGELOG.md merge=union
|
||||
* text=auto
|
||||
*.png binary
|
||||
*.rtf binary
|
||||
*.sh text eol=lf
|
||||
testablescript.ps1 text eol=lf
|
||||
TestFileCatalog.txt text eol=lf
|
||||
|
Loading…
Reference in New Issue
Block a user