Skip to content

Commit 9e6f333

Browse files
committed
Check out shell scripts and .bashunitrc with LF line endings
The Windows runners check out text files with CRLF line endings. bashunit then read BASHUNIT_BOOTSTRAP from .bashunitrc with a trailing carriage return, did not find e2e/bootstrap.sh, and every Windows E2E test failed with "e2e::set_up: command not found". Amp-Thread-ID: https://ampcode.com/threads/T-01a1b596-a698-7607-9f34-a62afb8c4731
1 parent f9d152a commit 9e6f333

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎.gitattributes‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
*.php text eol=lf
2+
*.sh text eol=lf
3+
.bashunitrc text eol=lf
24
*.stub linguist-language=PHP
35

46
tests/PHPStan/Command/ErrorFormatter/data/WindowsNewlines.php eol=crlf

0 commit comments

Comments
 (0)