Commit a5e6525
committed
fix(cli): use platform-specific PATH separator in npm tests
Fix npm ENOENT errors on Windows by using the correct PATH separator.
Windows uses semicolon (;) while Unix uses colon (:).
This caused npm to not be found in PATH on Windows CI, resulting in
"spawn npm ENOENT" errors in socket-npm-integration.test.mts.1 parent da2a26a commit a5e6525
File tree
1 file changed
+4
-2
lines changed- packages/cli/src/commands/npm
1 file changed
+4
-2
lines changedLines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
42 | 44 | | |
43 | 45 | | |
44 | 46 | | |
| |||
62 | 64 | | |
63 | 65 | | |
64 | 66 | | |
65 | | - | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
108 | | - | |
| 110 | + | |
109 | 111 | | |
110 | 112 | | |
111 | 113 | | |
| |||
0 commit comments