Skip to content

Commit

Permalink
added show nonerror option to project lint jake tast
Browse files Browse the repository at this point in the history
  • Loading branch information
brentlintner committed Aug 21, 2011
1 parent 6e06f54 commit 9bc3505
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/lint.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = function (files) {
var args = files && files.length > 0 ? files : ["."],
spawn = require('child_process').spawn,
cmd = spawn("jshint", args),
cmd = spawn("jshint", args.concat(["--show-non-errors"])),
sys = require('sys');
cmd.stdout.on('data', sys.print);
cmd.stderr.on('data', sys.print);
Expand Down

0 comments on commit 9bc3505

Please sign in to comment.