File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -1363,5 +1363,9 @@ export abstract class HostingIntegration<
1363
1363
cancellation ?: CancellationToken ,
1364
1364
) : Promise < PullRequest [ ] | undefined > ;
1365
1365
1366
- getPullRequestIdentityFromMaybeUrl ?( search : string ) : PullRequestUrlIdentity | undefined ;
1366
+ getPullRequestIdentityFromMaybeUrl ( search : string ) : PullRequestUrlIdentity | undefined {
1367
+ return this . getProviderPullRequestIdentityFromMaybeUrl ?.( search ) ;
1368
+ }
1369
+
1370
+ protected getProviderPullRequestIdentityFromMaybeUrl ?( search : string ) : PullRequestUrlIdentity | undefined ;
1367
1371
}
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export class GitHubIntegration extends GitHubIntegrationBase<HostingIntegrationI
295
295
}
296
296
}
297
297
298
- override getPullRequestIdentityFromMaybeUrl ( search : string ) : PullRequestUrlIdentity | undefined {
298
+ protected override getProviderPullRequestIdentityFromMaybeUrl ( search : string ) : PullRequestUrlIdentity | undefined {
299
299
return getGitHubPullRequestIdentityFromMaybeUrl ( search ) ;
300
300
}
301
301
}
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ abstract class GitLabIntegrationBase<
396
396
} ;
397
397
}
398
398
399
- override getPullRequestIdentityFromMaybeUrl ( search : string ) : PullRequestUrlIdentity | undefined {
399
+ protected override getProviderPullRequestIdentityFromMaybeUrl ( search : string ) : PullRequestUrlIdentity | undefined {
400
400
return getGitLabPullRequestIdentityFromMaybeUrl ( search ) ;
401
401
}
402
402
}
Original file line number Diff line number Diff line change @@ -598,7 +598,7 @@ export class LaunchpadProvider implements Disposable {
598
598
for ( const integrationId of supportedLaunchpadIntegrations ) {
599
599
if ( connectedIntegrations . get ( integrationId ) ) {
600
600
const integration = await this . container . integrations . get ( integrationId ) ;
601
- const prIdentity = integration . getPullRequestIdentityFromMaybeUrl ?. ( search ) ;
601
+ const prIdentity = integration . getPullRequestIdentityFromMaybeUrl ( search ) ;
602
602
if ( prIdentity ) {
603
603
return prIdentity ;
604
604
}
You can’t perform that action at this time.
0 commit comments