summaryrefslogtreecommitdiff
path: root/cli/tools/registry/graph.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-09-25 09:04:57 -0400
committerGitHub <noreply@github.com>2024-09-25 09:04:57 -0400
commit8cdb309ffd6686b2f3c4a2126d927fd5770be34d (patch)
tree68dfbc0d13e94b9e18f45925d1d5492a7ca6e267 /cli/tools/registry/graph.rs
parent5c40b47629bc83b9120019b77b34ced5eaabcffe (diff)
fix(check): properly surface dependency errors in types file of js file (#25860)
We weren't surfacing dependency errors in types files of js files.
Diffstat (limited to 'cli/tools/registry/graph.rs')
-rw-r--r--cli/tools/registry/graph.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tools/registry/graph.rs b/cli/tools/registry/graph.rs
index d14e4cd84..184557e5d 100644
--- a/cli/tools/registry/graph.rs
+++ b/cli/tools/registry/graph.rs
@@ -128,7 +128,7 @@ impl GraphDiagnosticsCollector {
follow_dynamic: true,
// search the entire graph and not just the fast check subset
prefer_fast_check_graph: false,
- follow_type_only: true,
+ kind: deno_graph::GraphKind::All,
};
let mut iter = graph.walk(graph.roots.iter(), options);
while let Some((specifier, entry)) = iter.next() {