Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed miscalc on progress bar

  • Loading branch information...
commit a7c1f8e917e16939c47fabf2545b2d73ce8a4477 1 parent e8fc562
@davglass davglass authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  lib/walk.js
View
3  lib/walk.js
@@ -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);
});
});
};
Please sign in to comment.
Something went wrong with that request. Please try again.