Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Turn off progress bar when using web based authorization #5438

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/utils/otplease.js
@@ -1,3 +1,4 @@
const log = require('./log-shim')
async function otplease (npm, opts, fn) {
try {
return await fn(opts)
Expand All @@ -7,6 +8,7 @@ async function otplease (npm, opts, fn) {
}

if (isWebOTP(err)) {
log.disableProgress()
const webAuth = require('./web-auth')
const openUrlPrompt = require('./open-url-prompt')

Expand Down