Commit 73ca633
committed
fix: Add fallback for npm exec path detection
When constants.npmExecPath from the published registry doesn't exist
or isn't executable, fall back to using whichBin to find npm. This
fixes CI failures where the published version's npm-exec-path module
might not correctly detect npm in certain environments.1 parent 2d5522b commit 73ca633
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
212 | 218 | | |
213 | 219 | | |
214 | 220 | | |
| |||
0 commit comments