(path, value)
| 32 | const readJson = (path) => JSON.parse(readFileSync(path, "utf8")) |
| 33 | |
| 34 | const writeJson = (path, value) => { |
| 35 | mkdirSync(dirname(path), { recursive: true }) |
| 36 | writeFileSync(path, `${JSON.stringify(value, null, 2)}\n`) |
| 37 | } |
| 38 | |
| 39 | const toAbsolute = (path) => resolve(typeperfDir, path) |
| 40 |
no test coverage detected