(filePath: string, content: string)
| 37 | } |
| 38 | |
| 39 | export async function writeText(filePath: string, content: string): Promise<void> { |
| 40 | await ensureDir(path.dirname(filePath)) |
| 41 | await fs.writeFile(filePath, content, "utf8") |
| 42 | } |
| 43 | |
| 44 | export async function writeTextSecure(filePath: string, content: string): Promise<void> { |
| 45 | await ensureDir(path.dirname(filePath)) |
no test coverage detected