Skip to content

Commit

Permalink
Save fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne committed Oct 2, 2017
1 parent 9798aae commit 1ea7e4c
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": "npm-install-peers",
"version": "1.2.0-rc.2",
"version": "1.2.0-rc.3",
"description": "CLI command to install npm peerDependencies",
"preferGlobal": true,
"bin": {
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ fs.readFile('package.json', 'utf-8', function(error, contents) {

let peerInstallOptions=packageContents.peerInstallOptions

peerInstallOptions['--no-save'] = true;
peerInstallOptions['save'] = false;
npm.load(peerInstallOptions, function() {
npm.commands.install(packages)
})
Expand Down

0 comments on commit 1ea7e4c

Please sign in to comment.