(context: { owner: string; repo: string; })
| 18 | const branch = 'master'; |
| 19 | |
| 20 | export function setRepoContext(context: { owner: string; repo: string; }) { |
| 21 | owner = context.owner; |
| 22 | repo = context.repo; |
| 23 | } |
| 24 | |
| 25 | function githubRequest(relativeUrl: string, init?: RequestInit) { |
| 26 | init = init || {}; |