diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-25 01:03:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-25 01:03:45 +0200 |
commit | 1378df33647e2608733d88121b77ff2f839cddfa (patch) | |
tree | e2ecdf2028761e88eeb777d93bdd807384a36863 /cli/ops/worker_host.rs | |
parent | 912a57f6a20c632c306f4e044df7618a3971abbf (diff) |
remove bootstrap methods from global scope after bootstrapping (#4869)
Diffstat (limited to 'cli/ops/worker_host.rs')
-rw-r--r-- | cli/ops/worker_host.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs index 460596b81..df8bfa7fd 100644 --- a/cli/ops/worker_host.rs +++ b/cli/ops/worker_host.rs @@ -64,7 +64,7 @@ fn create_web_worker( // Instead of using name for log we use `worker-${id}` because // WebWorkers can have empty string as name. let script = format!( - "bootstrapWorkerRuntime(\"{}\", {}, \"worker-{}\")", + "bootstrap.workerRuntime(\"{}\", {}, \"worker-{}\")", name, worker.has_deno_namespace, worker_id ); worker.execute(&script)?; |