Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/otplease.js')
-rw-r--r--lib/utils/otplease.js2
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')