diff options
Diffstat (limited to 'lib/update.js')
-rw-r--r-- | lib/update.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/update.js b/lib/update.js index ff9ef9d5e..3cdeb8ea7 100644 --- a/lib/update.js +++ b/lib/update.js @@ -6,8 +6,8 @@ const log = require('npmlog') const reifyFinish = require('./utils/reify-finish.js') const completion = require('./utils/completion/installed-deep.js') -const BaseCommand = require('./base-command.js') -class Update extends BaseCommand { +const ArboristWorkspaceCmd = require('./workspaces/arborist-cmd.js') +class Update extends ArboristWorkspaceCmd { /* istanbul ignore next - see test/lib/load-all-commands.js */ static get description () { return 'Update packages' @@ -32,6 +32,7 @@ class Update extends BaseCommand { 'bin-links', 'fund', 'dry-run', + ...super.params, ] } @@ -65,6 +66,7 @@ class Update extends BaseCommand { ...this.npm.flatOptions, log: this.npm.log, path: where, + workspaces: this.workspaces, }) await arb.reify({ update }) |