(dirs: string[])
| 69 | } |
| 70 | |
| 71 | function getCandidateEntrypointsInDirs(dirs: string[]) { |
| 72 | return dirs.flatMap((dir: string) => |
| 73 | PYTHON_ENTRYPOINT_FILENAMES.map((filename: string) => |
| 74 | pathPosix.join(dir, `${filename}.py`) |
| 75 | ) |
| 76 | ); |
| 77 | } |
| 78 | |
| 79 | async function fileExists(filePath: string): Promise<boolean> { |
| 80 | try { |
no test coverage detected