(branch: string)
| 764 | } |
| 765 | |
| 766 | async getBranchMergeRequest(branch: string) { |
| 767 | const mergeRequests = await this.getMergeRequests(branch); |
| 768 | if (mergeRequests.length <= 0) { |
| 769 | throw new EditorialWorkflowError('content is not under editorial workflow', true); |
| 770 | } |
| 771 | |
| 772 | return mergeRequests[0]; |
| 773 | } |
| 774 | |
| 775 | async getDifferences(to: string, from = this.branch) { |
| 776 | if (to === from) { |
no test coverage detected