Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
wraithgar committed Jul 20, 2022
1 parent 7efad06 commit 9c590fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/commands/publish.js
Expand Up @@ -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.
Expand Down

0 comments on commit 9c590fa

Please sign in to comment.