From 302debebb3a3b765b3d13f3244eb4625d7d610c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Tue, 18 Feb 2020 10:08:18 -0500 Subject: refactor: cleanup cli/lib.rs (#4006) * rename methods on Worker related to module loading * reorganize cli/lib.rs * remove cli/progress.rs and cli/shell.rs --- cli/ops/worker_host.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/ops') 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) }; -- cgit v1.2.3