Skip to content

Commit d640cd9

Browse files
Minor fix
1 parent 930dac1 commit d640cd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/adduser.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ function adduser (args, cb) {
3333

3434
log.disableProgress()
3535

36+
let auth
3637
try {
37-
const auth = require('./auth/' + npm.config.get('auth-type'))
38+
auth = require('./auth/' + npm.config.get('auth-type'))
3839
} catch (e) {
3940
return cb(new Error('no such auth module'))
4041
}

0 commit comments

Comments
 (0)