Skip to content

Commit

Permalink
issue28: adding the saveType when running npm update so that the pack…
Browse files Browse the repository at this point in the history
…age.json will my updated as well when updating local outdated packages (#29)
  • Loading branch information
luca-borrione authored and pgilad committed Mar 25, 2017
1 parent 4b9f5c3 commit 0ed3e39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/lib/dev_update.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var getSpawnArguments = function (phase, dependency, saveType) {
case 'outdated':
return ['outdated', '--json', '--depth=0'];
case 'update':
return ['update', dependency];
return ['update', dependency, saveType];
case 'install':
//this will force the version to install to override locks in package.json
return ['install', dependency + '@latest', saveType];
Expand Down

0 comments on commit 0ed3e39

Please sign in to comment.