Skip to content

Commit 7b1bf63

Browse files
committed
Fixes autolink enrichment for issues
1 parent cd5f9e1 commit 7b1bf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/autolinks/autolinks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export class Autolinks implements Disposable {
230230
link.provider?.domain === integration.domain
231231
? integration.getIssueOrPullRequest(
232232
link.descriptor ?? remote.provider.repoDesc,
233-
link.referenceType === 'branch' ? link.id : id,
233+
this.getAutolinkEnrichableId(link),
234234
)
235235
: link.descriptor != null
236236
? linkIntegration?.getIssueOrPullRequest(link.descriptor, this.getAutolinkEnrichableId(link))

0 commit comments

Comments
 (0)