Skip to content

Commit 98a91ba

Browse files
stewartadamCopilot
andcommitted
set ps1 to lf only for cross-os compat
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a361cb6 commit 98a91ba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.gitattributes

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
# Declare files that must have specific line endings on checkout.
55
## Windows scripts - must be CRLF
6-
*.ps1 text eol=crlf
76
*.bat text eol=crlf
87
*.cmd text eol=crlf
98

9+
## Cross-platform PowerShell scripts - use LF for shebang compatibility
10+
*.ps1 text eol=lf
1011
## Linux scripts - must be LF
1112
*.sh text eol=lf
1213
*.Dockerfile text eol=lf

0 commit comments

Comments
 (0)