Skip to content

Commit dc7e3c7

Browse files
committedNov 21, 2016
Explicitly exit out of nodeunit in both success and failure cases
1 parent d5806bb commit dc7e3c7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎bin/nodeunit

+1-3
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,5 @@ else {
124124
}
125125

126126
testrunner.run(files, options, function(err) {
127-
if (err) {
128-
process.exit(1);
129-
}
127+
process.exit(err ? 1 : 0);
130128
});

0 commit comments

Comments
 (0)
Please sign in to comment.