summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-10 18:10:51 -0400
committerGitHub <noreply@github.com>2022-08-10 18:10:51 -0400
commit321a42d1fbab8dd8869749b44b560bbbc4f5872a (patch)
tree0b2369e8cfa511250d3e32a5cbefd304edba57fe /cli/main.rs
parent578f12d531b146661294771f002cf0d76bcc5f9a (diff)
refactor(runtime): split up `MainWorker` and `WebWorker`'s `preload_module` method into two separate methods (#15451)
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs2
1 files changed, 1 insertions, 1 deletions
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)
}