Skip to content

Commit 17d0335

Browse files
author
James Halliday
committed
fix for the exit test on 0.6
1 parent e13321d commit 17d0335

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function createHarness (conf_) {
2828
process.on('exit', function (code) {
2929
t._exit();
3030
out.close();
31-
if (code === 0 && !t._ok) process.exit(1);
31+
if (!code && !t._ok) process.exit(1);
3232
});
3333
}
3434

0 commit comments

Comments
 (0)