cli/api
vilmibm cc1ffb0aea pass apiClient to determineBaseRepo
Our code had an unspoken assumption that only one apiClient is created
during the course of a command. Violating this assumption is fine in
almost all cases, but not when we need to do a re-auth to add a new
oauth scope to a user's token.

There is likely a more elegant solution to the problem but until then
this changes determineBaseRepo to use an existing apiClient.
2020-05-13 14:55:49 -05:00
..
client.go pass apiClient to determineBaseRepo 2020-05-13 14:55:49 -05:00
client_test.go Replace FakeHTTP with httpmock which is now compatible 2020-05-07 15:19:14 +02:00
pull_request_test.go Prevent crash when encountering "STALE" check conclusion 2020-03-27 09:54:11 +01:00
queries_gist.go feat: add gist queries #397 2020-02-25 01:26:24 +08:00
queries_issue.go just return the err 2020-04-30 08:59:14 -07:00
queries_issue_test.go Replace FakeHTTP with httpmock which is now compatible 2020-05-07 15:19:14 +02:00
queries_org.go Order projects, teams, and labels by name 2020-05-08 18:22:14 +02:00
queries_pr.go Preserve CODEOWNERS reviewers in pr create 2020-05-13 12:09:59 +02:00
queries_repo.go Fix metadata resolver query 2020-05-12 16:48:30 +02:00
queries_repo_test.go Fix metadata resolver query 2020-05-12 16:48:30 +02:00