(path)
| 86 | const resolveRef = (ref) => runGit(["rev-parse", "--verify", `${ref}^{commit}`]) |
| 87 | |
| 88 | const readJson = (path) => JSON.parse(readFileSync(path, "utf8")) |
| 89 | |
| 90 | const writeJson = (path, value) => { |
| 91 | mkdirSync(dirname(path), { recursive: true }) |