Skip to content

Commit

Permalink
fix(schemantics): tests are unable to run when window paths have spac…
Browse files Browse the repository at this point in the history
…es in them.
  • Loading branch information
smasala authored and vsavkin committed Oct 4, 2018
1 parent b9ffb90 commit 3ba5fef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/schematics/src/command-line/affected.ts
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ function ngPath() {
path.dirname(resolve.sync('@angular/cli', { basedir: __dirname }))
)
);
return path.join(basePath, 'bin', 'ng');
return `"${path.join(basePath, 'bin', 'ng')}"`;
}

/**
Expand Down

0 comments on commit 3ba5fef

Please sign in to comment.