()
| 267 | } |
| 268 | |
| 269 | function repoRoot() { |
| 270 | const result = spawnSync("git", ["rev-parse", "--show-toplevel"], { |
| 271 | encoding: "utf8", |
| 272 | }); |
| 273 | if (result.status === 0) { |
| 274 | return result.stdout.trim(); |
| 275 | } |
| 276 | return resolve(dirname(fileURLToPath(import.meta.url)), ".."); |
| 277 | } |
| 278 | |
| 279 | function mainCheckoutRoot() { |
| 280 | const result = spawnSync( |
no outgoing calls
no test coverage detected