diff options
Diffstat (limited to 'test/parallel/test-child-process-spawn-shell.js')
-rw-r--r-- | test/parallel/test-child-process-spawn-shell.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/parallel/test-child-process-spawn-shell.js b/test/parallel/test-child-process-spawn-shell.js index e9dd0e07ef..e9a753e91a 100644 --- a/test/parallel/test-child-process-spawn-shell.js +++ b/test/parallel/test-child-process-spawn-shell.js @@ -4,7 +4,7 @@ const assert = require('assert'); const cp = require('child_process'); // Verify that a shell is, in fact, executed -const doesNotExist = cp.spawn('does-not-exist', {shell: true}); +const doesNotExist = cp.spawn('does-not-exist', { shell: true }); assert.notStrictEqual(doesNotExist.spawnfile, 'does-not-exist'); doesNotExist.on('error', common.mustNotCall()); @@ -50,7 +50,7 @@ command.on('close', common.mustCall((code, signal) => { // Verify that the environment is properly inherited const env = cp.spawn(`"${process.execPath}" -pe process.env.BAZ`, { - env: Object.assign({}, process.env, {BAZ: 'buzz'}), + env: Object.assign({}, process.env, { BAZ: 'buzz' }), encoding: 'utf8', shell: true }); |