Skip to content

Commit 6c06c27

Browse files
committed
create module graph strongly consistent
1 parent d58cb7b commit 6c06c27

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/next-api/src/project.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -915,7 +915,7 @@ impl Project {
915915
pub async fn whole_app_module_graphs(self: ResolvedVc<Self>) -> Result<Vc<ModuleGraphs>> {
916916
async move {
917917
let module_graphs_op = whole_app_module_graph_operation(self);
918-
let module_graphs_vc = module_graphs_op.connect().resolve().await?;
918+
let module_graphs_vc = module_graphs_op.resolve_strongly_consistent().await?;
919919
let _ = module_graphs_op.take_issues_with_path().await?;
920920

921921
// At this point all modules have been computed and we can get rid of the node.js
@@ -926,7 +926,7 @@ impl Project {
926926
turbopack_node::evaluate::scale_zero();
927927
}
928928

929-
Ok(module_graphs_vc)
929+
Ok(*module_graphs_vc)
930930
}
931931
.instrument(tracing::info_span!("module graph for app"))
932932
.await

0 commit comments

Comments
 (0)