From 321a42d1fbab8dd8869749b44b560bbbc4f5872a Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 10 Aug 2022 18:10:51 -0400 Subject: refactor(runtime): split up `MainWorker` and `WebWorker`'s `preload_module` method into two separate methods (#15451) --- cli/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/main.rs') diff --git a/cli/main.rs b/cli/main.rs index 7c3cf248f..8489a5f2f 100644 --- a/cli/main.rs +++ b/cli/main.rs @@ -485,7 +485,7 @@ async fn install_command( Default::default(), ); // First, fetch and compile the module; this step ensures that the module exists. - worker.preload_module(&main_module, true).await?; + worker.preload_main_module(&main_module).await?; tools::installer::install(flags, install_flags)?; Ok(0) } -- cgit v1.2.3