(path: string)
| 101 | } |
| 102 | |
| 103 | async function readTextIfExists(path: string): Promise<string | null> { |
| 104 | try { |
| 105 | return await readFile(path, 'utf8') |
| 106 | } catch { |
| 107 | return null |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | async function findFirstExistingPath( |
| 112 | repoRoot: string, |
no test coverage detected