From 9c590fac8b9b649b3ab7203c48a0abce89e6f3e9 Mon Sep 17 00:00:00 2001 From: Gar Date: Wed, 20 Jul 2022 11:32:16 -0700 Subject: [PATCH] fix: disable progress bar on publish (#5172) It is not supposed to be there, in that it doesn't get any updates and gets in the way of logging messages. We already log the server we are publishing to in the `notice` headers so the one `http` log message that we get during publish isn't needed on stdout. --- lib/commands/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/commands/publish.js b/lib/commands/publish.js index 0840346a7fa1d..d61fff936c854 100644 --- a/lib/commands/publish.js +++ b/lib/commands/publish.js @@ -61,7 +61,7 @@ class Publish extends BaseCommand { throw new Error('Tag name must not be a valid SemVer range: ' + defaultTag.trim()) } - const opts = { ...this.npm.flatOptions } + const opts = { ...this.npm.flatOptions, progress: false } // you can publish name@version, ./foo.tgz, etc. // even though the default is the 'file:.' cwd.