diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-11-14 22:40:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-14 22:40:05 -0500 |
commit | d6fd171394ad47691d4f73e847056980245afebe (patch) | |
tree | dfd722b5794460f520406ded32609c89a0f413c4 /cli/worker.rs | |
parent | 2df0df51a7d028f3d1ce38c57e1527a7ab938890 (diff) |
fix(install): support npm specifiers (#16634)
Supports npm specifiers for `deno install`. This will by default always
use a lockfile (which is generated on first run) unless `--no-lock` is
specified.
Diffstat (limited to 'cli/worker.rs')
-rw-r--r-- | cli/worker.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/worker.rs b/cli/worker.rs index 63d1b7912..7fe1f3c0b 100644 --- a/cli/worker.rs +++ b/cli/worker.rs @@ -45,10 +45,6 @@ impl CliMainWorker { self.worker } - pub async fn preload_main_module(&mut self) -> Result<ModuleId, AnyError> { - self.worker.preload_main_module(&self.main_module).await - } - pub async fn setup_repl(&mut self) -> Result<(), AnyError> { self.worker.run_event_loop(false).await?; Ok(()) |