Commit f6cf6960 authored by Tobias Koppers's avatar Tobias Koppers

Fix post-rebase compile error: use .container()/.ctx() accessors in…

Fix post-rebase compile error: use .container()/.ctx() accessors in project_get_all_compilation_issues

Canary changed ProjectInstance fields turbopack_ctx and container from bare
values to Option<T>. Our added function accessed them directly; switch to the
existing .container() and .ctx() helper methods which properly unwrap them.
Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
parent 42b7faa6
......@@ -2746,9 +2746,9 @@ async fn get_all_compilation_issues_operation(
pub async fn project_get_all_compilation_issues(
#[napi(ts_arg_type = "{ __napiType: \"Project\" }")] project: External<ProjectInstance>,
) -> napi::Result<TurbopackResult<()>> {
let container = project.container;
let container = project.container();
let (issues, diagnostics) = project
.turbopack_ctx
.ctx()
.turbo_tasks()
.run_once(async move {
let op = get_all_compilation_issues_operation(container);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment