Skip to content

Commit

Permalink
Fixed miscalc on progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Sep 19, 2012
1 parent e8fc562 commit a7c1f8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/walk.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ exports.run = function (options) {
if (!mods.length) {
log.error('no modules found, hitting the brakes.');
}
bar.total = mods.length;
bar.total = mods.length - 1;
log.info('found ' + mods.length + ' modules to race' + ((max) ? ' (' + max + ' at a time)' : '') + ', let\'s do this');
log.warn('this will be quiet, only status will be emitted for speed. failed builds will print after');
var stack = new Stack(),
Expand Down Expand Up @@ -124,7 +124,6 @@ exports.run = function (options) {
});
process.exit(1);
}
process.exit(0);
});
});
};

0 comments on commit a7c1f8e

Please sign in to comment.