Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit 3a00b51

Browse files
MylesBorinsnodejs-ci
authored andcommitted
fixup: impl better variable
1 parent 105af24 commit 3a00b51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/internal/modules/esm/module_job.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,9 @@ class ModuleJob {
101101

102102
async run() {
103103
const module = await this.instantiate();
104-
return { module, result: module.evaluate(-1, false) };
104+
const timeout = -1;
105+
const breakOnSigint = false;
106+
return { module, result: module.evaluate(timeout, breakOnSigint) };
105107
}
106108
}
107109
Object.setPrototypeOf(ModuleJob.prototype, null);

0 commit comments

Comments
 (0)