(git = simpleGit())
| 5 | import { toUnixPath } from '../transform.js'; |
| 6 | |
| 7 | export function getGitRoot(git = simpleGit()): Promise<string> { |
| 8 | return git.revparse('--show-toplevel'); |
| 9 | } |
| 10 | |
| 11 | export async function getGitDefaultBranch(git = simpleGit()): Promise<string> { |
| 12 | try { |
no outgoing calls
no test coverage detected