(client: BitbucketClient, workspaces: string[])
| 465 | } |
| 466 | |
| 467 | async function serverGetReposForWorkspace(client: BitbucketClient, workspaces: string[]): Promise<{repos: ServerRepository[], warnings: string[]}> { |
| 468 | const warnings = workspaces.map(workspace => `Workspaces are not supported in Bitbucket Server: ${workspace}`); |
| 469 | logger.debug('Workspaces are not supported in Bitbucket Server'); |
| 470 | return { |
| 471 | repos: [], |
| 472 | warnings |
| 473 | }; |
| 474 | } |
| 475 | |
| 476 | async function serverGetReposForProjects(client: BitbucketClient, projects: string[]): Promise<{repos: ServerRepository[], warnings: string[]}> { |
| 477 | const results = await Promise.allSettled(projects.map(async (project) => { |
nothing calls this directly
no outgoing calls
no test coverage detected