diff options
author | Gar <gar+gh@danger.computer> | 2022-07-20 21:32:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 21:32:16 +0300 |
commit | 9c590fac8b9b649b3ab7203c48a0abce89e6f3e9 (patch) | |
tree | 72da302517811d04d3e89f116f01bb272f3900db /lib | |
parent | 7efad065ed4e7bc56e14e94cdcb21f71d547dd9e (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.js | 2 |
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. |