Skip to content

Commit

Permalink
fix: Reserve more space for the dependency count in the progress bar
Browse files Browse the repository at this point in the history
Otherwise the progress bar will not be displayed in a single line any
more, but it will look like `console.log` when the dependency count
passes 1000.
  • Loading branch information
nknapp committed Apr 9, 2018
1 parent 7d30246 commit fb80e13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress.js
Expand Up @@ -4,7 +4,7 @@ const ProgressBar = require('progress')
class ProgressHandler {
constructor (stream) {
this.stream = stream
this.foundDepsProgress = new ProgressBar('dependencies found: :current', {total: 1000, stream: this.stream})
this.foundDepsProgress = new ProgressBar('dependencies found: :current', {total: 1000000, stream: this.stream})
this.loadedDepsProgress = null
}

Expand Down

0 comments on commit fb80e13

Please sign in to comment.