Skip to content

Commit 0fba4d8

Browse files
committed
set exitCode instead of force exit on serial error
1 parent 713ef74 commit 0fba4d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/reporter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ module.exports = function () {
7676
})
7777

7878
.on("serial_error", () => {
79+
process.exitCode = 1
7980
$.error("Task chain was aborted!")
80-
process.exit(1)
8181
})
8282
}

0 commit comments

Comments
 (0)