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
  • Loading branch information
inidaname authored and clydin committed May 25, 2021
1 parent 9433bb6 commit 15e5bfa
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 15e5bfa

Please sign in to comment.