(ghAccessToken: any)
| 547 | } |
| 548 | |
| 549 | async function getGitHubUserDetails(ghAccessToken: any): Promise<Record<string, any>> { |
| 550 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 551 | const { body: ghUserDetails } = await githubApiClient.get<Record<string, any>>("/user", { |
| 552 | headers: { Authorization: `token ${ghAccessToken}`, "User-Agent": "Firebase CLI" }, |
| 553 | }); |
| 554 | return ghUserDetails; |
| 555 | } |
| 556 | |
| 557 | async function getRepoDetails(repo: string, ghAccessToken: string) { |
| 558 | const { body } = await githubApiClient.get<{ default_branch: string; id: string }>( |
no outgoing calls
no test coverage detected
searching dependent graphs…