* Get the default branch of a repository
(owner: string, repo: string)
| 81 | * Get the default branch of a repository |
| 82 | */ |
| 83 | async getDefaultBranch(owner: string, repo: string): Promise<string> { |
| 84 | const repoInfo = await this.getRepoInfo(owner, repo); |
| 85 | return repoInfo.default_branch; |
| 86 | } |
| 87 | |
| 88 | /** |
| 89 | * Get repository information |
no test coverage detected