Permalink
Browse files

Better --walk support

  • Loading branch information...
davglass committed Sep 19, 2012
1 parent 0377d51 commit 66344ad83ebf9588fc3490e518c3690c7d0645c2
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/walk.js
View
@@ -42,6 +42,9 @@ exports.run = function (options) {
args.push('--lint');
args.push(options.lint);
}
+ if (options.lint === false) {
+ args.push('--no-lint');
+ }
if (options['lint-stderr']) {
args.push('--lint-stderr');
}
@@ -109,7 +112,9 @@ exports.run = function (options) {
log.info('finished in ' + timer.calc(start, end) + ', pretty fast huh?');
if (errors.length) {
log.warn('the following builds exited with a 1');
- console.log(errors.join(', '));
+ errors.forEach(function(mod) {
+ console.log(' ', log.color(mod, 'red'));
+ });
}
});
});

0 comments on commit 66344ad

Please sign in to comment.