diff options
author | Luca Casonato <hello@lcas.dev> | 2024-01-24 14:49:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 14:49:33 +0100 |
commit | 745333f073aba4c97e7d06c731063105493cde5a (patch) | |
tree | 79f91d9621e11b46272b29a27e048fe235b32491 /cli/tools/registry/graph.rs | |
parent | 930ce2087051b4e45b2026ce7a77c14360a6993f (diff) |
chore: improve unanalyzable dynamic import diagnostic (#22051)
Diffstat (limited to 'cli/tools/registry/graph.rs')
-rw-r--r-- | cli/tools/registry/graph.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/tools/registry/graph.rs b/cli/tools/registry/graph.rs index 29c825242..4d061e3da 100644 --- a/cli/tools/registry/graph.rs +++ b/cli/tools/registry/graph.rs @@ -94,9 +94,8 @@ pub fn collect_fast_check_type_graph_diagnostics( { continue; } - diagnostics_collector.push(PublishDiagnostic::FastCheck { - diagnostic: diagnostic.clone(), - }); + diagnostics_collector + .push(PublishDiagnostic::FastCheck(diagnostic.clone())); if matches!( diagnostic, FastCheckDiagnostic::UnsupportedJavaScriptEntrypoint { .. } |