Skip to content

Commit

Permalink
fix(@angular/cli): ng update on windows to allow path
Browse files Browse the repository at this point in the history
(cherry picked from commit 15e5bfa)
  • Loading branch information
inidaname authored and clydin committed May 25, 2021
1 parent 8e741e1 commit f4e1c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/angular/cli/utilities/install-package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ export async function runTempPackageBin(
throw new Error(`Cannot locate bin for temporary package: ${packageNameNoVersion}.`);
}

const argv = [binPath, ...args];
const argv = [`'${binPath}'`, ...args];

const { status, error } = spawnSync('node', argv, {
stdio: 'inherit',
Expand Down

0 comments on commit f4e1c67

Please sign in to comment.