Skip to content

Commit b05f22a

Browse files
authored
Fix checkout default branch and pull for deleting a branch (#7975)
1 parent 9863dea commit b05f22a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/pullRequestOverviewCommon.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export namespace PullRequestView {
114114
return;
115115
}
116116
}
117-
await folderRepositoryManager.repository.checkout(defaultBranch);
117+
await folderRepositoryManager.checkoutDefaultBranch(defaultBranch);
118118
}
119119
await folderRepositoryManager.repository.deleteBranch(branchInfo!.branch, true);
120120
return deletedBranchTypes.push(action.type);

0 commit comments

Comments
 (0)