Commit 26e0294
committed
fix(mcp-server): guard execNpm npm_execpath with existsSync
Fall back to plain npm when npm_execpath is set but the file is missing,
matching spawnNpx behavior.1 parent 8dd5af4 commit 26e0294
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments