From 69e1d7a4edb45c8b4cb15f64ee89cec8a693be5e Mon Sep 17 00:00:00 2001 From: Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> Date: Wed, 23 Oct 2024 15:01:45 -0700 Subject: fix(install): cache type only module deps in `deno install` (#26497) Fixes https://github.com/denoland/deno/issues/26180. --- cli/args/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli') diff --git a/cli/args/mod.rs b/cli/args/mod.rs index f905e186b..d8f553101 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -963,6 +963,9 @@ impl CliOptions { match self.sub_command() { DenoSubcommand::Cache(_) => GraphKind::All, DenoSubcommand::Check(_) => GraphKind::TypesOnly, + DenoSubcommand::Install(InstallFlags { + kind: InstallKind::Local(_), + }) => GraphKind::All, _ => self.type_check_mode().as_graph_kind(), } } -- cgit v1.2.3