From b904c2f00ed09e61548c61efcf0068e7598ed266 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 29 Oct 2015 05:29:03 -0700 Subject: [PATCH] fixup --- test/parallel/test-child-process-send-returns-boolean.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-child-process-send-returns-boolean.js b/test/parallel/test-child-process-send-returns-boolean.js index b26212210d410a..73d4454087ec8e 100644 --- a/test/parallel/test-child-process-send-returns-boolean.js +++ b/test/parallel/test-child-process-send-returns-boolean.js @@ -13,8 +13,8 @@ const n = fork(emptyFile); const rv = n.send({ hello: 'world' }); assert.strictEqual(rv, true); -const s = spawn(process.execPath, [emptyFile], - { stdio: ['pipe', 'pipe', 'pipe', 'ipc'] }); +const spawnOptions = { stdio: ['pipe', 'pipe', 'pipe', 'ipc'] }; +const s = spawn(process.execPath, [emptyFile], spawnOptions); var handle = null; s.on('exit', function() { handle.close();