From bc101f6cc8edda400801fa08a7b403a8ba68a8bb Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Thu, 21 Mar 2019 18:53:18 -0400 Subject: [PATCH] fixup: impl better variable --- lib/internal/modules/esm/module_job.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/internal/modules/esm/module_job.js b/lib/internal/modules/esm/module_job.js index 8e0c7b7be9..5666032df1 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -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);