(branch: string)
| 653 | } |
| 654 | |
| 655 | async getBranchPullRequest(branch: string) { |
| 656 | const pullRequests = await this.getPullRequests(branch); |
| 657 | |
| 658 | if (pullRequests.length <= 0) { |
| 659 | throw new EditorialWorkflowError('content is not under editorial workflow', true); |
| 660 | } |
| 661 | |
| 662 | return pullRequests[0]; |
| 663 | } |
| 664 | |
| 665 | async getDifferences(to: string) { |
| 666 | const result = await this.requestJSON<AzureGitCommitDiffs>({ |
no test coverage detected