(filePath)
| 1 | import fs from "node:fs" |
| 2 | function createFile(filePath) { |
| 3 | if (!fs.existsSync(filePath)) { |
| 4 | writeFile(filePath, "") |
| 5 | } |
| 6 | } |
| 7 | |
| 8 | function writeFile(filePath, content) { |
| 9 | fs.writeFile(filePath, content, error => { |
nothing calls this directly
no test coverage detected