Skip to content

Commit

Permalink
Merge pull request #44 from Rich-Harris/fix-quote-package-with-versio…
Browse files Browse the repository at this point in the history
…n-install

fix: add quote when installing peer deps
  • Loading branch information
Sven SAULEAU authored Mar 12, 2018
2 parents c3ce936 + 16d5046 commit 7bc69ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "packd",
"version": "2.6.1",
"version": "2.6.3",
"description": "Simple alternative to browserify-cdn",
"scripts": {
"start": "node server",
Expand Down
2 changes: 1 addition & 1 deletion server/child-processes/create-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function installDependencies ( cwd ) {
return promise.then( () => {
info( `[${pkg.name}] installing peer dependency ${name}` );
const version = pkg.peerDependencies[ name ];
return exec( `${root}/node_modules/.bin/npm install ${name}@${version}`, cwd, pkg );
return exec( `${root}/node_modules/.bin/npm install "${name}@${version}"`, cwd, pkg );
});
}, Promise.resolve() );
});
Expand Down

0 comments on commit 7bc69ad

Please sign in to comment.