(cwd)
| 87 | } |
| 88 | |
| 89 | export function getRepoRoot(cwd) { |
| 90 | return gitChecked(cwd, ["rev-parse", "--show-toplevel"]).stdout.trim(); |
| 91 | } |
| 92 | |
| 93 | export function detectDefaultBranch(cwd) { |
| 94 | const symbolic = git(cwd, ["symbolic-ref", "refs/remotes/origin/HEAD"]); |
no test coverage detected