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