Skip to content

Commit cf23f90

Browse files
committed
fix: pass sessionMode to buildPostRestoreScript so CJS-transformed ESM entries get __dirname set correctly
1 parent 45f7c81 commit cf23f90

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/nodejs/src/execution-driver.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ export class NodeExecutionDriver implements RuntimeDriver {
12761276
},
12771277
timingMitigation,
12781278
frozenTimeMs,
1279-
options.mode,
1279+
sessionMode,
12801280
options.filePath,
12811281
bindingKeys,
12821282
);

0 commit comments

Comments
 (0)