Skip to content

Commit 576ba27

Browse files
committed
fix(ci): force LF for pnpm patch files
Windows runners check *.patch out with CRLF (autocrlf), which pnpm 12's patch parser rejects with ERR_PNPM_INVALID_PATCH.
1 parent c51b5e9 commit 576ba27

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.gitattributes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# pnpm patch files must stay LF: a CRLF checkout (Windows autocrlf) breaks
2+
# pnpm's patch parser with ERR_PNPM_INVALID_PATCH.
3+
*.patch text eol=lf

0 commit comments

Comments
 (0)