Skip to content

Commit 79668a8

Browse files
Fix stale lock guidance lint
1 parent 2d58d0d commit 79668a8

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

inc/Cli/Commands/WorkspaceCommand.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1354,11 +1354,11 @@ private function attach_stale_lock_recommendation( array $result ): array {
13541354
}
13551355

13561356
$result['stale_lock_summary'] = array(
1357-
'stale_database_locks' => (int) ( $report['database_count'] ?? 0 ),
1358-
'stale_filesystem_locks' => (int) ( $report['filesystem_count'] ?? 0 ),
1359-
'active_protected_locks' => $protected,
1360-
'preview_command' => (string) ( $report['preview_command'] ?? 'wp datamachine-code workspace worktree locks --prune-stale --dry-run --format=json' ),
1361-
'prune_command' => (string) ( $report['apply_command'] ?? 'wp datamachine-code workspace worktree locks --prune-stale --format=json' ),
1357+
'stale_database_locks' => (int) ( $report['database_count'] ?? 0 ),
1358+
'stale_filesystem_locks' => (int) ( $report['filesystem_count'] ?? 0 ),
1359+
'active_protected_locks' => $protected,
1360+
'preview_command' => (string) ( $report['preview_command'] ?? 'wp datamachine-code workspace worktree locks --prune-stale --dry-run --format=json' ),
1361+
'prune_command' => (string) ( $report['apply_command'] ?? 'wp datamachine-code workspace worktree locks --prune-stale --format=json' ),
13621362
);
13631363

13641364
if ( 0 === $protected ) {

0 commit comments

Comments
 (0)