(path)
| 246 | } |
| 247 | |
| 248 | const removeWorktree = (path) => { |
| 249 | const result = run("git", ["worktree", "remove", "--force", path], { cwd: repoRoot }) |
| 250 | if (result.status !== 0) { |
| 251 | process.stderr.write(`${result.stdout ?? ""}${result.stderr ?? ""}`) |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | const main = () => { |
| 256 | const baseSha = resolveRef(baseRef) |
no test coverage detected