Commit d89a6f5
committed
fix(package-manager): remove manual shell quoting from args after shell:false migration
When shell:true was active, arguments with special characters required
manual quoting (e.g. `"/Users/gourisankara/.antigravity/antigravity/bin /opt/homebrew/bin /opt/homebrew/sbin /usr/local/bin /System/Cryptexes/App/usr/bin /usr/bin /bin /usr/sbin /sbin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin /Users/gourisankara/.foundry/bin"`, `--registry="..."`). With
shell:false + cmd.exe array invocation, Node.js controls quoting
internally — manual quotes are passed as literal characters to the
subprocess and cause failures.
- ssr-dev-server/index.ts: remove literal quotes around path arg
- executor.ts: split --registry="url" into ['--registry', url]
Fixes functional regressions identified in #32892 review.1 parent 799c4c0 commit d89a6f5
File tree
2 files changed
+2
-2
lines changed- packages/angular_devkit
- build_angular/src/builders/ssr-dev-server
- schematics/tasks/package-manager
2 files changed
+2
-2
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
234 | | - | |
| 234 | + | |
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments