Skip to content

Commit 3ba5fef

Browse files
smasalavsavkin
authored andcommittedOct 4, 2018
fix(schemantics): tests are unable to run when window paths have spaces in them.
1 parent b9ffb90 commit 3ba5fef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎packages/schematics/src/command-line/affected.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ function ngPath() {
443443
path.dirname(resolve.sync('@angular/cli', { basedir: __dirname }))
444444
)
445445
);
446-
return path.join(basePath, 'bin', 'ng');
446+
return `"${path.join(basePath, 'bin', 'ng')}"`;
447447
}
448448

449449
/**

0 commit comments

Comments
 (0)
Please sign in to comment.