(paths: string[])
| 92 | * @returns Array of paths that exist |
| 93 | */ |
| 94 | export async function filterExistingPaths(paths: string[]): Promise<string[]> { |
| 95 | const results = await Promise.all(paths.map(pathExists)) |
| 96 | return paths.filter((_, i) => results[i]) |
| 97 | } |
| 98 | |
| 99 | /** |
| 100 | * Validates that a path contains the expected GitHub repository. |
no outgoing calls
no test coverage detected