Skip to content

Commit 8313b38

Browse files
committed
Fix repo name
1 parent 45d68c1 commit 8313b38

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/github/pullRequestOverview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,10 +310,10 @@ export class PullRequestOverviewPanel extends IssueOverviewPanel<PullRequestMode
310310
...baseContext,
311311
isCurrentlyCheckedOut: isCurrentlyCheckedOut,
312312
isRemoteBaseDeleted: pullRequest.isRemoteBaseDeleted,
313-
base: `${pullRequest.base.owner}/${pullRequest.base.name}:${pullRequest.base.ref}`,
313+
base: `${pullRequest.base.owner}/${pullRequest.remote.repositoryName}:${pullRequest.base.ref}`,
314314
isRemoteHeadDeleted: pullRequest.isRemoteHeadDeleted,
315315
isLocalHeadDeleted: !branchInfo,
316-
head: pullRequest.head ? `${pullRequest.head.owner}/${pullRequest.head.name}:${pullRequest.head.ref}` : '',
316+
head: pullRequest.head ? `${pullRequest.head.owner}/${pullRequest.remote.repositoryName}:${pullRequest.head.ref}` : '',
317317
repositoryDefaultBranch: defaultBranch,
318318
status: status[0],
319319
reviewRequirement: status[1],

0 commit comments

Comments
 (0)