Commit 0902eea
committed
fix(scripts): use the .cmd bin shim on Windows for tsgo + oxfmt spawns
After replacing pnpm exec with node_modules/.bin/<tool>, the Windows build
died with "'node_modules' is not recognized" — the extension-less .bin file
is a POSIX sh script cmd.exe (shell: WIN32) can't run. Pick node_modules\.bin\
<tool>.cmd on win32, the shim npm writes for exactly this. Covers the tsgo
declarations build and the api-index oxfmt pass.1 parent 6948745 commit 0902eea
2 files changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
107 | 110 | | |
108 | | - | |
| 111 | + | |
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
0 commit comments