()
| 304 | // ── Helpers ──────────────────────────────────────────────────────────────── |
| 305 | |
| 306 | function repoRoot(): string | null { |
| 307 | try { |
| 308 | const out = execSync("git rev-parse --show-toplevel", { encoding: "utf-8", timeout: 2000 }); |
| 309 | return out.trim(); |
| 310 | } catch { |
| 311 | return null; |
| 312 | } |
| 313 | } |
| 314 | |
| 315 | function originUrl(): string | null { |
| 316 | try { |
no outgoing calls
no test coverage detected