diff options
Diffstat (limited to 'runtime/js')
-rw-r--r-- | runtime/js/99_main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 2299b63f9..82e444dfd 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -774,7 +774,7 @@ function bootstrapMainRuntime(runtimeOptions) { ObjectDefineProperty(globalThis, "Deno", core.propReadOnly(finalDenoNs)); if (nodeBootstrap) { - nodeBootstrap(hasNodeModulesDir, argv0); + nodeBootstrap(hasNodeModulesDir, argv0, /* runningOnMainThread */ true); } if (future) { @@ -909,7 +909,7 @@ function bootstrapWorkerRuntime( ObjectDefineProperty(globalThis, "Deno", core.propReadOnly(finalDenoNs)); if (nodeBootstrap) { - nodeBootstrap(hasNodeModulesDir, argv0); + nodeBootstrap(hasNodeModulesDir, argv0, /* runningOnMainThread */ false); } } |