Skip to content

Commit

Permalink
Put quotes around paths to prevent them from looking like separate
Browse files Browse the repository at this point in the history
arguments when run with the shell
  • Loading branch information
kategengler committed Oct 30, 2017
1 parent 8335502 commit 9fa4f1a
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/find-ember-path.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ module.exports = function(root) {
return resolve('ember-cli', { basedir: root })
.then(function(emberPath) {
// Return the path to the ember command script
return path.join(emberPath, '..', '..', '..', 'bin', 'ember');
return '"' + path.join(emberPath, '..', '..', '..', 'bin', 'ember') + '"';
});
};

0 comments on commit 9fa4f1a

Please sign in to comment.