(filePath, content)
| 52 | } |
| 53 | |
| 54 | function writeText(filePath, content) { |
| 55 | fs.mkdirSync(path.dirname(filePath), { recursive: true }); |
| 56 | fs.writeFileSync(filePath, content, 'utf8'); |
| 57 | } |
| 58 | |
| 59 | function readJson(filePath) { |
| 60 | return JSON.parse(fs.readFileSync(filePath, 'utf8')); |
no test coverage detected