Skip to content

Commit

Permalink
Remove two remaining BB remnants
Browse files Browse the repository at this point in the history
PR-URL: #968
Credit: @isaacs and @mikemimik
Close: #968
  • Loading branch information
isaacs committed May 8, 2020
1 parent b798bbf commit 7df93b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/auth/sso.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports.login = function login (creds, registry, scope, cb) {
output('Logged in as %s%s on %s.', username, scopeMessage, registry)
return {token}
})
}).nodeify(cb)
}).then(res => cb(null, res), cb)
}

function pollForSession (registry, token, opts) {
Expand Down
2 changes: 1 addition & 1 deletion lib/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ function _commit (version, localData, cb) {
buildTagFlags(), message
], options)
}
}).nodeify(cb)
}).then(res => cb(null, res), cb)
}

function stagePackageFiles (localData, options) {
Expand Down

0 comments on commit 7df93b7

Please sign in to comment.