test: unconditionally plumb debug to parent process (#3479)

This commit is contained in:
Pavel Feldman 2020-08-14 13:46:43 -07:00 committed by GitHub
parent d537088af8
commit a03c761201
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');
});
}