diff options
Diffstat (limited to 'cli/ops/worker_host.rs')
-rw-r--r-- | cli/ops/worker_host.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/ops/worker_host.rs b/cli/ops/worker_host.rs index 4f6f996ee..81e8f76da 100644 --- a/cli/ops/worker_host.rs +++ b/cli/ops/worker_host.rs @@ -172,9 +172,7 @@ fn run_worker_thread( } else { // TODO(bartlomieju): add "type": "classic", ie. ability to load // script instead of module - let load_future = worker - .execute_mod_async(&specifier, None, false) - .boxed_local(); + let load_future = worker.execute_module(&specifier).boxed_local(); rt.block_on(load_future) }; |