We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534c04f commit 14f043dCopy full SHA for 14f043d
src/github/createPRViewProvider.ts
@@ -522,8 +522,7 @@ export abstract class BaseCreatePullRequestViewProvider<T extends BasePullReques
522
523
// Construct the GitHub URL for creating a PR
524
// Format: https://github.com/{owner}/{repo}/pull/new/{branch}
525
- // or https://github.com/{owner}/{repo}/compare/{base}...{head} for cross-repo PRs
526
- const url = `${baseRepo.remote.url}/pull/new/${compareBranch}`;
+ const url = `${baseRepo.remote.normalizedHost}/${baseRepo.remote.owner}/${baseRepo.remote.repositoryName}/pull/new/${compareBranch}`;
527
528
await vscode.env.openExternal(vscode.Uri.parse(url));
529
}
0 commit comments