From 0e513b2ae765b6112d2bb493e2a4d9e7136df048 Mon Sep 17 00:00:00 2001 From: himself65 Date: Sun, 8 Mar 2020 15:36:35 +0800 Subject: [PATCH] esm: remove unused parameter on module.instantiate Backport-PR-URL: https://github.com/nodejs/node/pull/32610 PR-URL: https://github.com/nodejs/node/pull/32147 Reviewed-By: Gus Caplan Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Ruben Bridgewater --- lib/internal/modules/esm/module_job.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/internal/modules/esm/module_job.js b/lib/internal/modules/esm/module_job.js index 01a574044b4f4a..08ba06101ca92c 100644 --- a/lib/internal/modules/esm/module_job.js +++ b/lib/internal/modules/esm/module_job.js @@ -89,7 +89,7 @@ class ModuleJob { const initWrapper = internalBinding('inspector').callAndPauseOnStart; initWrapper(this.module.instantiate, this.module); } else { - this.module.instantiate(true); + this.module.instantiate(); } } catch (e) { decorateErrorStack(e);