Skip to content

Commit c2c21ed

Browse files
committed
fix(@angular/cli) escape paths using double quotes
Closes #21027 (cherry picked from commit 6364300)
1 parent 8990849 commit c2c21ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/angular/cli/utilities/install-package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export async function runTempPackageBin(
204204
throw new Error(`Cannot locate bin for temporary package: ${packageNameNoVersion}.`);
205205
}
206206

207-
const argv = [`'${binPath}'`, ...args];
207+
const argv = [`"${binPath}"`, ...args];
208208

209209
const { status, error } = spawnSync('node', argv, {
210210
stdio: 'inherit',

0 commit comments

Comments
 (0)