Permalink
Browse files

Fixed miscalc on progress bar

  • Loading branch information...
1 parent e8fc562 commit a7c1f8e917e16939c47fabf2545b2d73ce8a4477 @davglass davglass committed Sep 19, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/walk.js
View
@@ -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(),
@@ -124,7 +124,6 @@ exports.run = function (options) {
});
process.exit(1);
}
- process.exit(0);
});
});
};

0 comments on commit a7c1f8e

Please sign in to comment.