(filePath, content)
| 73 | } |
| 74 | |
| 75 | function writeFile(filePath, content) { |
| 76 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 77 | fs.writeFileSync(filePath, content, 'utf8'); |
| 78 | } |
| 79 | |
| 80 | function readJson(filePath) { |
| 81 | return JSON.parse(fs.readFileSync(filePath, 'utf8')); |
no outgoing calls
no test coverage detected