(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: GitLabAPICredentials)
| 79 | private readonly prId: number |
| 80 | |
| 81 | constructor(public readonly repoMetadata: RepoMetaData, public readonly repoCredentials: GitLabAPICredentials) { |
| 82 | this.api = new Gitlab({ ...repoCredentials }) |
| 83 | this.hostURL = repoCredentials.host |
| 84 | this.repoSlug = repoMetadata.repoSlug |
| 85 | this.prId = Number(repoMetadata.pullRequestID) |
| 86 | } |
| 87 | |
| 88 | get projectURL(): string { |
| 89 | return `${this.hostURL}/${this.repoSlug}` |
nothing calls this directly
no outgoing calls
no test coverage detected