Skip to content

Commit 7df93b7

Browse files
committed
Remove two remaining BB remnants
PR-URL: #968 Credit: @isaacs and @mikemimik Close: #968
1 parent b798bbf commit 7df93b7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/auth/sso.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports.login = function login (creds, registry, scope, cb) {
4646
output('Logged in as %s%s on %s.', username, scopeMessage, registry)
4747
return {token}
4848
})
49-
}).nodeify(cb)
49+
}).then(res => cb(null, res), cb)
5050
}
5151

5252
function pollForSession (registry, token, opts) {

lib/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ function _commit (version, localData, cb) {
321321
buildTagFlags(), message
322322
], options)
323323
}
324-
}).nodeify(cb)
324+
}).then(res => cb(null, res), cb)
325325
}
326326

327327
function stagePackageFiles (localData, options) {

0 commit comments

Comments
 (0)