diff options
author | nlf <quitlahok@gmail.com> | 2021-03-24 20:47:47 +0300 |
---|---|---|
committer | Gar <gar+gh@danger.computer> | 2021-03-24 20:50:33 +0300 |
commit | e8d2adcf40ad63030f844c9aa44c6d16e2146797 (patch) | |
tree | f12f5d6504c7974fcaa37a5833407eaeccdd09b0 /lib | |
parent | 98efadeb4b2ae9289f14ed6f42a169230faf7239 (diff) |
fix: config should not error when workspaces are configured
PR-URL: https://github.com/npm/cli/pull/2945
Credit: @nlf
Close: #2945
Reviewed-by: @wraithgar
Diffstat (limited to 'lib')
-rw-r--r-- | lib/config.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/config.js b/lib/config.js index d5ef6ec50..6bfde9845 100644 --- a/lib/config.js +++ b/lib/config.js @@ -88,6 +88,10 @@ class Config extends BaseCommand { this.config(args).then(() => cb()).catch(cb) } + execWorkspaces (args, filters, cb) { + this.exec(args, cb) + } + async config ([action, ...args]) { this.npm.log.disableProgress() try { |