()
| 33 | } |
| 34 | |
| 35 | export async function getAuthor(): Promise<string> { |
| 36 | const name = await git.raw(["config", "user.name"]).catch(() => "unknown"); |
| 37 | return name.trim(); |
| 38 | } |
| 39 | |
| 40 | export async function getRepoRoot(): Promise<string> { |
| 41 | const root = await git.revparse(["--show-toplevel"]); |
no outgoing calls
no test coverage detected