Skip to content

Commit 70e2ff4

Browse files
committed
fix: satisfy cleanup control lint
1 parent fa4c9ae commit 70e2ff4

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

inc/Cli/Commands/WorkspaceCommand.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,10 @@ private function control_cleanup_run_job( string $operation, int $job_id, array
684684
$results[] = $result;
685685
}
686686

687-
$output = $results[0] ?? array( 'success' => true, 'job_id' => $job_id );
687+
$output = $results[0] ?? array(
688+
'success' => true,
689+
'job_id' => $job_id,
690+
);
688691
$output['run_id'] = $this->cleanup_run_id( $job_id );
689692
$output['state'] = 'resume' === $operation ? 'running' : 'cancelled';
690693
$output['controlled_job_ids'] = $target_job_ids;

0 commit comments

Comments
 (0)