Skip to content

Commit

Permalink
Ingores _repos argument in searchProviderMyPullRequests
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeibbb committed Mar 4, 2025
1 parent 48b162b commit b5bf0a1
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/plus/integrations/providers/bitbucket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,13 +193,8 @@ export class BitbucketIntegration extends HostingIntegration<

protected override async searchProviderMyPullRequests(
session: ProviderAuthenticationSession,
requestedRepositories?: BitbucketRepositoryDescriptor[],
_repos?: BitbucketRepositoryDescriptor[],
): Promise<PullRequest[] | undefined> {
if (requestedRepositories != null) {
// TODO: implement repos version
return undefined;
}

const remotes = await flatSettled(this.container.git.openRepositories.map(r => r.git.remotes().getRemotes()));
const repos = await nonnullSettled(
remotes.map(async r => ((await r.getIntegration())?.id === this.id ? r.path : undefined)),
Expand Down

0 comments on commit b5bf0a1

Please sign in to comment.