Skip to content

Commit

Permalink
Update debug progress reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Oct 20, 2019
1 parent 5e3688d commit d820e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/progress/reporters/debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const update = async function({ name, percentage, timeLeft, index, total }) {
}

const serializePercentage = function(percentage) {
const percentageInt = Math.round(percentage * FLOAT_TO_PERCENTAGE)
const percentageInt = Math.floor(percentage * FLOAT_TO_PERCENTAGE)
return `${percentageInt}%`.padStart(PERCENTAGE_WIDTH)
}

Expand Down

0 comments on commit d820e7b

Please sign in to comment.