(pr: GitHubPull, cmsLabelPrefix: string)
| 165 | }; |
| 166 | |
| 167 | function withCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 168 | return pr.labels.some(l => isCMSLabel(l.name, cmsLabelPrefix)); |
| 169 | } |
| 170 | |
| 171 | function withoutCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 172 | return pr.labels.every(l => !isCMSLabel(l.name, cmsLabelPrefix)); |
no test coverage detected