(filePath, data)
| 46 | } |
| 47 | |
| 48 | static async writeFile(filePath, data) { |
| 49 | try { |
| 50 | // Ensure directory exists |
| 51 | await fs.promises.mkdir(path.dirname(filePath), { recursive: true }); |
| 52 | |
| 53 | await writeFile(filePath, data); |
| 54 | } catch (err) { |
| 55 | console.error(err); |
| 56 | } |
| 57 | } |
| 58 | } |
nothing calls this directly
no outgoing calls
no test coverage detected