Skip to content

Commit 30e538e

Browse files
fix: align cleanup scanned counters
1 parent 6b9b4ff commit 30e538e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inc/Cli/Commands/WorkspaceCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3634,7 +3634,7 @@ private function run_worktree_abandoned_orchestration( array $assoc_args ): arra
36343634
return $reconcile;
36353635
}
36363636
$result['steps']['reconcile_metadata'] = $this->summarize_worktree_abandoned_step($reconcile);
3637-
$result['summary']['scanned'] += (int) ( $result['steps']['reconcile_metadata']['inspected'] ?? 0 );
3637+
$result['summary']['scanned'] += (int) ( $result['steps']['reconcile_metadata']['inspected'] ?? 0 );
36383638
$result['summary']['reconciled'] = (int) ( $reconcile['summary']['written'] ?? 0 );
36393639
$result['summary']['would_reconcile'] = (int) ( $reconcile['summary']['proposed'] ?? 0 );
36403640

@@ -3698,7 +3698,7 @@ private function run_worktree_abandoned_orchestration( array $assoc_args ): arra
36983698

36993699
$step_key = sprintf('%s_pass_%d', $key, $pass);
37003700
$result['steps'][ $step_key ] = $this->summarize_worktree_abandoned_step($step);
3701-
$result['summary']['scanned'] += (int) ( $result['steps'][ $step_key ]['inspected'] ?? 0 );
3701+
$result['summary']['scanned'] += (int) ( $result['steps'][ $step_key ]['inspected'] ?? 0 );
37023702
$written = (int) ( $step['summary']['written'] ?? 0 );
37033703
$planned = (int) ( $step['summary']['planned'] ?? 0 );
37043704
$pass_marked += $apply ? $written : $planned;

0 commit comments

Comments
 (0)