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

Commit

Permalink
fixup: impl better variable
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBorins authored and nodejs-ci committed Mar 24, 2019
1 parent 31914bb commit bc101f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/internal/modules/esm/module_job.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ class ModuleJob {

async run() {
const module = await this.instantiate();
return { module, result: module.evaluate(-1, false) };
const timeout = -1;
const breakOnSigint = false;
return { module, result: module.evaluate(timeout, breakOnSigint) };
}
}
Object.setPrototypeOf(ModuleJob.prototype, null);
Expand Down

0 comments on commit bc101f6

Please sign in to comment.