report immediate ufuzz failure from Pull Request (#4166)

This commit is contained in:
Alex Lam S.L
2020-10-02 16:43:38 +01:00
committed by GitHub
parent ccd91b9952
commit 35465d590e

View File

@@ -57,7 +57,13 @@ function run() {
function respawn() { function respawn() {
console.log(stdout.replace(/[^\r\n]*\r/g, "")); console.log(stdout.replace(/[^\r\n]*\r/g, ""));
clearInterval(log); clearInterval(log);
if (!iterations) spawn(); if (!iterations) {
spawn();
} else if (process.exitCode) {
tasks.forEach(function(kill) {
kill();
});
}
} }
function trap(data) { function trap(data) {