diff options
author | Sandeep Meduru <73886592+sandeepmeduru@users.noreply.github.com> | 2022-09-02 00:16:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 00:16:33 +0300 |
commit | d60b43f3825452dd8b9b5879c287df232c9a8dc8 (patch) | |
tree | 5efade7350db3b4263eb48dd3a36145cc00ec044 /lib | |
parent | 4bc702912487117e5c5316b0052917950464f278 (diff) |
fix: Turn off progress bar when using web based authorization (#5438)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/utils/otplease.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/utils/otplease.js b/lib/utils/otplease.js index 0e20e7a79..e40ef5773 100644 --- a/lib/utils/otplease.js +++ b/lib/utils/otplease.js @@ -1,3 +1,4 @@ +const log = require('./log-shim') async function otplease (npm, opts, fn) { try { return await fn(opts) @@ -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') |