Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: Turn off progress bar when using web based authorization (#5438)
  • Loading branch information
sandeepmeduru committed Sep 1, 2022
1 parent 4bc7029 commit d60b43f
Showing 1 changed file with 2 additions and 0 deletions.
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

0 comments on commit d60b43f

Please sign in to comment.