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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commands/adduser.js')
-rw-r--r--lib/commands/adduser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/commands/adduser.js b/lib/commands/adduser.js
index 6cd6d3001..1cf70fffb 100644
--- a/lib/commands/adduser.js
+++ b/lib/commands/adduser.js
@@ -1,4 +1,4 @@
-const log = require('npmlog')
+const log = require('../utils/log-shim.js')
const replaceInfo = require('../utils/replace-info.js')
const BaseCommand = require('../base-command.js')
const authTypes = {
@@ -31,6 +31,7 @@ class AddUser extends BaseCommand {
creds,
registry,
scope,
+ log,
})
await this.updateConfig({