( sources: readonly LegacyConfigSource[], )
| 89 | // would re-enable features the user's real config disabled. Pi reads only Pi |
| 90 | // legacy paths so a differing pair stays correct per-harness. |
| 91 | function resolvePiLegacyFallback( |
| 92 | sources: readonly LegacyConfigSource[], |
| 93 | ): LegacyConfigSource | null { |
| 94 | return sources.find((source) => existsSync(source.path)) ?? null; |
| 95 | } |
| 96 | |
| 97 | function loadConfigFile( |
| 98 | path: string, |
no outgoing calls
no test coverage detected