(filePath: string)
| 9 | } |
| 10 | |
| 11 | export async function readJsonFile<T = unknown>(filePath: string): Promise<T> { |
| 12 | const text = await readTextFile(filePath); |
| 13 | return JSON.parse(text) as T; |
| 14 | } |
| 15 | |
| 16 | export async function fileExists(filePath: string): Promise<boolean> { |
| 17 | try { |
no test coverage detected