Skip to content

Commit

Permalink
exit process with appropriate exit code in jslint xml reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
brentlintner committed Aug 20, 2011
1 parent eaaaf8d commit 5090b6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/reporters/jslint_xml.js
Expand Up @@ -44,5 +44,7 @@ module.exports =
console.log("\t</file>");
}
console.log("</jslint>");

process.exit(results.length > 0 ? 1 : 0);
}
};

0 comments on commit 5090b6e

Please sign in to comment.