From 03663dbf5be483387e44bcfb80db6284016234d0 Mon Sep 17 00:00:00 2001 From: Chris Huber Date: Fri, 29 May 2026 15:23:32 -0400 Subject: [PATCH] fix: align remote workspace alias assignments --- inc/Workspace/RemoteWorkspaceBackend.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/Workspace/RemoteWorkspaceBackend.php b/inc/Workspace/RemoteWorkspaceBackend.php index 959eb35..ad8c157 100644 --- a/inc/Workspace/RemoteWorkspaceBackend.php +++ b/inc/Workspace/RemoteWorkspaceBackend.php @@ -1066,7 +1066,7 @@ public function git_push( string $handle, string $remote = 'origin', ?string $br */ private function resolve_handle( string $handle ): array|\WP_Error { $handle = $this->resolve_alias($handle); - $state = $this->state(); + $state = $this->state(); if ( isset($state['worktrees'][ $handle ]) ) { $worktree = (array) $state['worktrees'][ $handle ]; $worktree['handle'] = $handle; @@ -1093,7 +1093,7 @@ private function resolve_handle( string $handle ): array|\WP_Error { private function resolve_repo( string $repo_name ): string|\WP_Error { $repo_name = $this->resolve_alias($repo_name); - $state = $this->state(); + $state = $this->state(); if ( isset($state['repos'][ $repo_name ]['repo']) ) { return (string) $state['repos'][ $repo_name ]['repo']; }