Skip to content

Commit 380d885

Browse files
severoCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent f604353 commit 380d885

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/sources/gitHubSource.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export function getGitHubSource(sourceId: string, options?: {requestInit?: Reque
109109
return {
110110
label: 'Branches',
111111
versions: branches.map((branch) => {
112-
const branchSourceId = `${url.origin}/${url.repo}/${url.kind === 'file' ? 'blob' : 'tree'}/${branch}${url.path}`
112+
const branchSourceId = `${baseUrl}/${url.repo}/${url.kind === 'file' ? 'blob' : 'tree'}/${branch}${url.path}`
113113
return {
114114
label: branch,
115115
sourceId: branchSourceId,

0 commit comments

Comments
 (0)