Skip to content

Commit 7b11829

Browse files
committed
Ignores _repos argument in searchProviderMyPullRequests
(#4046, #4099)
1 parent 223d227 commit 7b11829

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/plus/integrations/providers/bitbucket.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -193,13 +193,8 @@ export class BitbucketIntegration extends HostingIntegration<
193193

194194
protected override async searchProviderMyPullRequests(
195195
session: ProviderAuthenticationSession,
196-
requestedRepositories?: BitbucketRepositoryDescriptor[],
196+
_repos?: BitbucketRepositoryDescriptor[],
197197
): Promise<PullRequest[] | undefined> {
198-
if (requestedRepositories != null) {
199-
// TODO: implement repos version
200-
return undefined;
201-
}
202-
203198
const remotes = await flatSettled(this.container.git.openRepositories.map(r => r.git.remotes().getRemotes()));
204199
const repos = await nonnullSettled(
205200
remotes.map(async r => ((await r.getIntegration())?.id === this.id ? r.path : undefined)),

0 commit comments

Comments
 (0)