test: fix stderr reference
PR-URL: https://github.com/nodejs/node/pull/15938 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
f720b82e39
commit
bd74fb4cee
@ -62,7 +62,7 @@ if (process.argv[2] === 'pipe') {
|
|||||||
stdoutData = true;
|
stdoutData = true;
|
||||||
});
|
});
|
||||||
let stderrData = false;
|
let stderrData = false;
|
||||||
parent.stdout.on('data', function() {
|
parent.stderr.on('data', function() {
|
||||||
stderrData = true;
|
stderrData = true;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user