Commit 9557cea
committed
fix(cli): pass converted cwd to spawn in shadowNpmBase
The URL-to-path conversion was happening but the converted string wasn't
being passed to spawn. The spawn call received the original URL object in
spawnOpts instead of the converted path string.
This fix explicitly passes the converted cwd to spawn options, ensuring
URL-based cwd values work correctly across all platforms.
Fixes the "should handle URL cwd option" test failure.1 parent 2bc7351 commit 9557cea
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
| 190 | + | |
190 | 191 | | |
191 | 192 | | |
192 | 193 | | |
| |||
0 commit comments