(filePath)
| 11 | } |
| 12 | |
| 13 | export function readJsonFile(filePath) { |
| 14 | return JSON.parse(fs.readFileSync(filePath, "utf8")); |
| 15 | } |
| 16 | |
| 17 | export function writeJsonFile(filePath, value) { |
| 18 | fs.writeFileSync(filePath, `${JSON.stringify(value, null, 2)}\n`, "utf8"); |
no outgoing calls
no test coverage detected