diff options
author | Nathan Whitaker <17734409+nathanwhit@users.noreply.github.com> | 2024-10-23 15:01:45 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-23 15:01:45 -0700 |
commit | 69e1d7a4edb45c8b4cb15f64ee89cec8a693be5e (patch) | |
tree | 026eb8726df9b3da5cdcff6fedb28a9512d8b2c8 /cli/args/mod.rs | |
parent | 92ed4d38dbef98b9353d6dd6d96abb400be56f9f (diff) |
fix(install): cache type only module deps in `deno install` (#26497)
Fixes https://github.com/denoland/deno/issues/26180.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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(), } } |