fix(js): Ensure runTimeArgs are not ignored (#17527)
This commit is contained in:
parent
860d82a640
commit
478fb8ba56
@ -237,7 +237,8 @@ export async function* nodeExecutor(
|
||||
}
|
||||
|
||||
function getExecArgv(options: NodeExecutorOptions) {
|
||||
const args = ['-r', require.resolve('source-map-support/register')];
|
||||
const args = (options.runtimeArgs ??= []);
|
||||
args.push('-r', require.resolve('source-map-support/register'));
|
||||
|
||||
if (options.inspect === true) {
|
||||
options.inspect = InspectType.Inspect;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user