Skip to content

Commit 0f728a6

Browse files
authored
Merge pull request #470 from Extra-Chill/fix/remote-workspace-alias-formatting
Fix remote workspace alias formatting
2 parents e4da889 + 03663db commit 0f728a6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inc/Workspace/RemoteWorkspaceBackend.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ public function git_push( string $handle, string $remote = 'origin', ?string $br
10661066
*/
10671067
private function resolve_handle( string $handle ): array|\WP_Error {
10681068
$handle = $this->resolve_alias($handle);
1069-
$state = $this->state();
1069+
$state = $this->state();
10701070
if ( isset($state['worktrees'][ $handle ]) ) {
10711071
$worktree = (array) $state['worktrees'][ $handle ];
10721072
$worktree['handle'] = $handle;
@@ -1093,7 +1093,7 @@ private function resolve_handle( string $handle ): array|\WP_Error {
10931093

10941094
private function resolve_repo( string $repo_name ): string|\WP_Error {
10951095
$repo_name = $this->resolve_alias($repo_name);
1096-
$state = $this->state();
1096+
$state = $this->state();
10971097
if ( isset($state['repos'][ $repo_name ]['repo']) ) {
10981098
return (string) $state['repos'][ $repo_name ]['repo'];
10991099
}

0 commit comments

Comments
 (0)