From eda1615d42d07ac36db90f5ae02f9f66aa8e118a Mon Sep 17 00:00:00 2001 From: Sandeep Meduru Date: Fri, 26 Aug 2022 18:36:52 +0530 Subject: [PATCH] fix: Turn off progress bar when using web based authorization --- lib/utils/otplease.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/utils/otplease.js b/lib/utils/otplease.js index 0e20e7a797ae0..e40ef57730c30 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')