From d4ef471744650e031fdc0b956e51e55f0f365203 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 27 Nov 2023 19:54:01 -0500 Subject: fix(node): `spawnSync`'s `status` was incorrect (#21359) The exit code wasn't hooked up properly. --- cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/node_compat/test/parallel') diff --git a/cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js b/cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js index 89a0860a3..2f6b41898 100644 --- a/cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js +++ b/cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js @@ -5,7 +5,7 @@ // Taken from Node 18.8.0 // This file is automatically generated by "node/_tools/setup.ts". Do not modify this file manually -// TODO(cjihrig): 'run -A require.ts' should not be needed in +// TODO(cjihrig): 'run -A runner.ts' should not be needed in // execSync() call at the bottom of this test. 'use strict'; @@ -49,4 +49,4 @@ setTimeout(() => { }, 100); `); -execSync(`${process.argv[0]} run -A require.ts ${tmpJsFile} < ${tmpCmdFile}`); +execSync(`${process.argv[0]} run -A runner.ts ${tmpJsFile} < ${tmpCmdFile}`); -- cgit v1.2.3