Skip to content

Commit d5d0e75

Browse files
author
CI Fix
committed
Fix line endings in bin/solid for Docker compatibility
- Convert Windows CRLF line endings to Unix LF in bin/solid script - Add .gitattributes to enforce proper line endings for executable files - Fixes Docker CI error: 'node\r': No such file or directory
1 parent f3f3968 commit d5d0e75

File tree

2 files changed

+31
-3
lines changed

2 files changed

+31
-3
lines changed

.gitattributes

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# Force bash scripts to have unix line endings
5+
*.sh text eol=lf
6+
7+
# Force bin files (executable scripts) to have unix line endings
8+
bin/* text eol=lf
9+
10+
# Ensure batch files on Windows keep CRLF line endings
11+
*.bat text eol=crlf
12+
13+
# Binary files should not be modified
14+
*.png binary
15+
*.jpg binary
16+
*.jpeg binary
17+
*.gif binary
18+
*.ico binary
19+
*.pdf binary
20+
*.zip binary
21+
*.tar.gz binary
22+
*.tgz binary
23+
24+
# Ensure package files are treated as text
25+
package.json text
26+
package-lock.json text
27+
*.md text
28+
*.txt text

bin/solid

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
#!/usr/bin/env node
2-
import startCli from './lib/cli.js'
3-
startCli()
1+
#!/usr/bin/env node
2+
import startCli from './lib/cli.js'
3+
startCli()

0 commit comments

Comments
 (0)