Skip to content

Commit

Permalink
fix(nx): wrap tmp directory into quotes
Browse files Browse the repository at this point in the history
Defensive layer in case user setup to node.js contains spaces.
  • Loading branch information
Jessica Nierth authored and vsavkin committed Apr 29, 2019
1 parent 31a2d64 commit a074edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/create-nx-workspace/bin/create-nx-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const args = process.argv
console.log(`ng new ${args} --collection=${nxTool.packageName}`);
execSync(
`${path.join(
tmpDir,
`"${tmpDir}"`,
'node_modules',
'.bin',
'ng'
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/bin/create-nx-workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const args = process.argv
console.log(`ng new ${args} --collection=${nxTool.packageName}`);
execSync(
`${path.join(
tmpDir,
`"${tmpDir}"`,
'node_modules',
'.bin',
'ng'
Expand Down

0 comments on commit a074edf

Please sign in to comment.