diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2023-11-27 19:54:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-27 19:54:01 -0500 |
| commit | d4ef471744650e031fdc0b956e51e55f0f365203 (patch) | |
| tree | d94fb8cbf2027af4bfc6fc4684ba66b3d1373d8b /cli/tests/node_compat/test | |
| parent | d65a297943b57f6492909041aadf72323f503f09 (diff) | |
fix(node): `spawnSync`'s `status` was incorrect (#21359)
The exit code wasn't hooked up properly.
Diffstat (limited to 'cli/tests/node_compat/test')
| -rw-r--r-- | cli/tests/node_compat/test/parallel/test-stdin-from-file-spawn.js | 4 |
1 files changed, 2 insertions, 2 deletions
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}`); |
