(detectedBranch: string)
| 150 | } |
| 151 | |
| 152 | export function getBranchesToTry(detectedBranch: string): string[] { |
| 153 | return Array.from(new Set([detectedBranch, ...DEFAULT_BRANCHES])); |
| 154 | } |
| 155 | |
| 156 | /** Resolve default branch and latest commit SHA for a repository. */ |
| 157 | export async function resolveRepoMetadata( |
no test coverage detected