Skip to content

Commit

Permalink
Merge pull request #154 from ember-cli/kg-escape-paths
Browse files Browse the repository at this point in the history
Put quotes around paths
  • Loading branch information
kategengler authored Nov 6, 2017
2 parents 00fad5a + 5141ffc commit 6d9fe4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dependency-manager-adapters/bower.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = CoreObject.extend({
});
})
.then(function(bowerPath) {
return path.join(bowerPath, '..', '..', 'bin', 'bower');
return '"' + path.join(bowerPath, '..', '..', 'bin', 'bower') + '"';
});
},
_installBower: function() {
Expand Down
2 changes: 1 addition & 1 deletion lib/utils/run-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = function(root, commandArgs, opts) {

if (command === 'ember') {
runPromise = findEmberPath(root).then(function(emberPath) {
return run('node', [].concat(emberPath, actualArgs), options);
return run('node', [].concat('"' + emberPath + '"', actualArgs), options);
});
} else {
runPromise = run(command, actualArgs, options);
Expand Down

0 comments on commit 6d9fe4b

Please sign in to comment.