Skip to content

Commit 9c590fa

Browse files
authored
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.
1 parent 7efad06 commit 9c590fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/commands/publish.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class Publish extends BaseCommand {
6161
throw new Error('Tag name must not be a valid SemVer range: ' + defaultTag.trim())
6262
}
6363

64-
const opts = { ...this.npm.flatOptions }
64+
const opts = { ...this.npm.flatOptions, progress: false }
6565

6666
// you can publish name@version, ./foo.tgz, etc.
6767
// even though the default is the 'file:.' cwd.

0 commit comments

Comments
 (0)