Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornlf <quitlahok@gmail.com>2021-03-24 20:47:47 +0300
committerGar <gar+gh@danger.computer>2021-03-24 20:50:33 +0300
commite8d2adcf40ad63030f844c9aa44c6d16e2146797 (patch)
treef12f5d6504c7974fcaa37a5833407eaeccdd09b0 /lib
parent98efadeb4b2ae9289f14ed6f42a169230faf7239 (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.js4
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 {