()
| 75 | } |
| 76 | |
| 77 | function getUserConfigPaths(): string[] { |
| 78 | const basePath = cortexKitUserConfigBasePath(); |
| 79 | return [`${basePath}.jsonc`, `${basePath}.json`]; |
| 80 | } |
| 81 | |
| 82 | function resolveFirstExisting(paths: string[]): string | undefined { |
| 83 | return paths.find((path) => existsSync(path)); |
no test coverage detected