summaryrefslogtreecommitdiff
path: root/cli/ops/worker_host.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2020-04-25 01:03:45 +0200
committerGitHub <noreply@github.com>2020-04-25 01:03:45 +0200
commit1378df33647e2608733d88121b77ff2f839cddfa (patch)
treee2ecdf2028761e88eeb777d93bdd807384a36863 /cli/ops/worker_host.rs
parent912a57f6a20c632c306f4e044df7618a3971abbf (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.rs2
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)?;