We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 930dac1 commit d640cd9Copy full SHA for d640cd9
lib/adduser.js
@@ -33,8 +33,9 @@ function adduser (args, cb) {
33
34
log.disableProgress()
35
36
+ let auth
37
try {
- const auth = require('./auth/' + npm.config.get('auth-type'))
38
+ auth = require('./auth/' + npm.config.get('auth-type'))
39
} catch (e) {
40
return cb(new Error('no such auth module'))
41
}
0 commit comments