(branch: string)
| 773 | } |
| 774 | |
| 775 | async getBranchMergeRequest(branch: string) { |
| 776 | const mergeRequests = await this.getMergeRequests(branch); |
| 777 | if (mergeRequests.length <= 0) { |
| 778 | throw new EditorialWorkflowError('content is not under editorial workflow', true); |
| 779 | } |
| 780 | |
| 781 | return mergeRequests[0]; |
| 782 | } |
| 783 | |
| 784 | async getDifferences(to: string, from = this.branch) { |
| 785 | if (to === from) { |
no test coverage detected