(filePath, value)
| 28 | } |
| 29 | |
| 30 | function writeJson(filePath, value) { |
| 31 | ensureDir(path.dirname(filePath)); |
| 32 | fs.writeFileSync(filePath, JSON.stringify(value, null, 2) + '\n', 'utf8'); |
| 33 | } |
| 34 | |
| 35 | function writeText(filePath, value) { |
| 36 | ensureDir(path.dirname(filePath)); |
no test coverage detected