(filePath: string, content: string)
| 15 | } |
| 16 | |
| 17 | export async function appendText(filePath: string, content: string) { |
| 18 | await mkdir(path.dirname(filePath), { recursive: true }) |
| 19 | await appendFile(filePath, content) |
| 20 | } |
| 21 | |
| 22 | export async function writeJsonAtomic(filePath: string, value: unknown) { |
| 23 | await mkdir(path.dirname(filePath), { recursive: true }) |
no outgoing calls
no test coverage detected