From 1378df33647e2608733d88121b77ff2f839cddfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 25 Apr 2020 01:03:45 +0200 Subject: remove bootstrap methods from global scope after bootstrapping (#4869) --- cli/ops/worker_host.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/ops') 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)?; -- cgit v1.2.3