Skip to content

Commit

Permalink
test: unconditionally plumb debug to parent process (#3479)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman authored Aug 14, 2020
1 parent d537088 commit a03c761
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/runner/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,7 @@ class Worker extends EventEmitter {
this.stderr.push(data);
});
this.on('debug', data => {
if (runner._options.dumpio)
process.stderr.write(data + '\n');
else
this.stderr.push(data + '\n');
process.stderr.write(data + '\n');
});
}

Expand Down

0 comments on commit a03c761

Please sign in to comment.