Permalink
Browse files

>=. Closes #19

  • Loading branch information...
1 parent f0e3963 commit 008a2ec76f113817f27023cf7445e73bdce4e07b TJ Holowaychuk committed Nov 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/node-progress.js
@@ -88,7 +88,7 @@ ProgressBar.prototype.tick = function(len, tokens){
if (0 == this.curr) this.start = new Date;
// progress complete
- if ((this.curr += len) > this.total) {
+ if ((this.curr += len) >= this.total) {
this.complete = true;
this.rl.clearLine();
this.rl.resume();

0 comments on commit 008a2ec

Please sign in to comment.