(public readonly repoMetadata: RepoMetaData, public readonly token?: APIToken)
| 75 | private pr: GitHubPRDSL | undefined |
| 76 | |
| 77 | constructor(public readonly repoMetadata: RepoMetaData, public readonly token?: APIToken) { |
| 78 | // This allows Peril to DI in a new Fetch function |
| 79 | // which can handle unique API edge-cases around integrations |
| 80 | this.fetch = fetch |
| 81 | this.additionalHeaders = {} |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Bit weird, yes, but we want something that can be exposed to an end-user. |
nothing calls this directly
no outgoing calls
no test coverage detected