Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/auth/legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const log = require('npmlog')
const profile = require('npm-profile')
const output = require('../utils/output.js')

const openUrl = require('../utils/open-url.js')
const read = require('../utils/read-user-info.js')
Expand Down Expand Up @@ -57,6 +58,7 @@ const login = async (opts) => {
}

try {
output(`Log in on ${opts.registry}`)
res = await profile.login(openerPromise, loginPrompter, opts)
} catch (err) {
const needsMoreInfo = !(opts &&
Expand Down