Skip to content

Commit f4e1c67

Browse files
inidanameclydin
authored andcommitted
fix(@angular/cli): ng update on windows to allow path
(cherry picked from commit 15e5bfa)
1 parent 8e741e1 commit f4e1c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
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)