Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Better --walk support

  • Loading branch information...
commit 66344ad83ebf9588fc3490e518c3690c7d0645c2 1 parent 0377d51
@davglass davglass authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 lib/walk.js
View
7 lib/walk.js
@@ -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'));
+ });
}
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.