Skip to content

Commit

Permalink
Merge pull request #331 from ben-pushspring/master
Browse files Browse the repository at this point in the history
Explicitly exit out of nodeunit in both success and failure cases
  • Loading branch information
mreinstein authored Jan 31, 2017
2 parents efaa4b4 + dc7e3c7 commit f3d3df2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/nodeunit
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,5 @@ else {
}

testrunner.run(files, options, function(err) {
if (err) {
process.exit(1);
}
process.exit(err ? 1 : 0);
});

0 comments on commit f3d3df2

Please sign in to comment.