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
path: root/lib
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2022-07-20 21:32:16 +0300
committerGitHub <noreply@github.com>2022-07-20 21:32:16 +0300
commit9c590fac8b9b649b3ab7203c48a0abce89e6f3e9 (patch)
tree72da302517811d04d3e89f116f01bb272f3900db /lib
parent7efad065ed4e7bc56e14e94cdcb21f71d547dd9e (diff)
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/commands/publish.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/publish.js b/lib/commands/publish.js
index 0840346a7..d61fff936 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.