Skip to content

Commit b904c2f

Browse files
committed
fixup
1 parent f24c29f commit b904c2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-child-process-send-returns-boolean.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ const n = fork(emptyFile);
1313
const rv = n.send({ hello: 'world' });
1414
assert.strictEqual(rv, true);
1515

16-
const s = spawn(process.execPath, [emptyFile],
17-
{ stdio: ['pipe', 'pipe', 'pipe', 'ipc'] });
16+
const spawnOptions = { stdio: ['pipe', 'pipe', 'pipe', 'ipc'] };
17+
const s = spawn(process.execPath, [emptyFile], spawnOptions);
1818
var handle = null;
1919
s.on('exit', function() {
2020
handle.close();

0 commit comments

Comments
 (0)