summaryrefslogtreecommitdiff
path: root/cli/factory.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/factory.rs')
-rw-r--r--cli/factory.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/factory.rs b/cli/factory.rs
index 56837110a..fd33d295c 100644
--- a/cli/factory.rs
+++ b/cli/factory.rs
@@ -666,6 +666,7 @@ impl CliFactory {
// todo(dsherret): ideally the graph container would not be used
// for deno cache because it doesn't dynamically load modules
DenoSubcommand::Cache(_) => GraphKind::All,
+ DenoSubcommand::Check(_) => GraphKind::TypesOnly,
_ => self.options.type_check_mode().as_graph_kind(),
};
Arc::new(ModuleGraphContainer::new(graph_kind))