(repo: string, ghAccessToken: string)
| 555 | } |
| 556 | |
| 557 | async function getRepoDetails(repo: string, ghAccessToken: string) { |
| 558 | const { body } = await githubApiClient.get<{ default_branch: string; id: string }>( |
| 559 | `/repos/${repo}`, |
| 560 | { |
| 561 | headers: { Authorization: `token ${ghAccessToken}`, "User-Agent": "Firebase CLI" }, |
| 562 | }, |
| 563 | ); |
| 564 | return body; |
| 565 | } |
| 566 | |
| 567 | async function signInWithGitHub() { |
| 568 | return await loginGithub(); |
no outgoing calls
no test coverage detected
searching dependent graphs…