Commit 3f2b050
committed
fix(ci): prevent diagnostic checks from stopping script execution
The diagnostic logging added in 77c7900 was causing all CI jobs to fail
immediately after the build step. The issue was operator precedence with
the || operator causing script termination when diagnostic checks failed.
Root cause:
ls -la dist/ 2>/dev/null || dir dist\
When dist/ doesn't exist:
- ls returns exit 2
- || triggers dir command
- dir also returns exit 2
- Entire script stops, tests never run
Fix: Wrap diagnostic commands in subshells with || true:
(ls -la dist/ 2>/dev/null || dir dist\ || true)
This ensures diagnostic failures don't stop script execution while still
providing the logging we need to debug the Windows build issues.1 parent c881538 commit 3f2b050
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
0 commit comments