Skip to content

Commit 1f3f61b

Browse files
Copilotalexr00
andcommitted
Clean up code formatting and finalize checkout fix
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
1 parent 53d0f29 commit 1f3f61b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/github/pullRequestGitHelper.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -182,17 +182,17 @@ export class PullRequestGitHelper {
182182
try {
183183
const branchName = pullRequest.head.ref;
184184
Logger.debug(`No PR metadata found, trying to checkout local branch ${branchName}`, PullRequestGitHelper.ID);
185-
185+
186186
// Check if a local branch with this name exists
187187
await repository.getBranch(branchName);
188-
188+
189189
// If we get here, the branch exists - checkout and associate with PR
190190
progress.report({ message: vscode.l10n.t('Checking out branch {0}', branchName) });
191191
await repository.checkout(branchName);
192-
192+
193193
// Associate the branch with the pull request for future reference
194194
await PullRequestGitHelper.associateBranchWithPullRequest(repository, pullRequest, branchName);
195-
195+
196196
return true;
197197
} catch (err) {
198198
// No matching local branch found

0 commit comments

Comments
 (0)