Skip to content

Commit a344414

Browse files
committed
fmt
1 parent 4f6d31a commit a344414

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/runner/src/scheduler.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,7 +691,10 @@ export class Scheduler {
691691
// Initialize/update mightWrite with declared writes
692692
// This ensures dependency chain can be built even before action runs
693693
const existingMightWrite = this.mightWrite.get(action) ?? [];
694-
this.mightWrite.set(action, sortAndCompactPaths([...existingMightWrite, ...writes]));
694+
this.mightWrite.set(
695+
action,
696+
sortAndCompactPaths([...existingMightWrite, ...writes]),
697+
);
695698

696699
return reads;
697700
}
@@ -728,7 +731,8 @@ export class Scheduler {
728731

729732
// Use mightWrite if available (accumulates all paths action has ever written)
730733
// This ensures dependency chain is built even if first run writes undefined
731-
const otherWrites = this.mightWrite.get(otherAction) ?? otherLog.writes;
734+
const otherWrites = this.mightWrite.get(otherAction) ??
735+
otherLog.writes;
732736

733737
// Check if otherAction writes to this entity we're reading
734738
for (const write of otherWrites) {

0 commit comments

Comments
 (0)