Skip to content

Commit 40a1094

Browse files
authored
Turbopack: fix task data category (#78873)
### What? fix a debug assertion in the test suite due to a wrong task data category
1 parent f07ef56 commit 40a1094

File tree

1 file changed

+2
-2
lines changed
  • turbopack/crates/turbo-tasks-backend/src/backend

1 file changed

+2
-2
lines changed

turbopack/crates/turbo-tasks-backend/src/backend/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
421421
}
422422

423423
let mut ctx = self.execute_context(turbo_tasks);
424-
let mut task = ctx.task(task_id, TaskDataCategory::Meta);
424+
let mut task = ctx.task(task_id, TaskDataCategory::All);
425425

426426
fn listen_to_done_event<B: BackingStorage>(
427427
this: &TurboTasksBackendInner<B>,
@@ -492,7 +492,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
492492
&mut ctx,
493493
);
494494
}
495-
task = ctx.task(task_id, TaskDataCategory::Meta);
495+
task = ctx.task(task_id, TaskDataCategory::All);
496496
}
497497

498498
let is_dirty =

0 commit comments

Comments
 (0)