(pr: GitHubPull, cmsLabelPrefix: string)
| 193 | }; |
| 194 | |
| 195 | function withCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 196 | return pr.labels.some(l => isCMSLabel(l.name, cmsLabelPrefix)); |
| 197 | } |
| 198 | |
| 199 | function withoutCmsLabel(pr: GitHubPull, cmsLabelPrefix: string) { |
| 200 | return pr.labels.every(l => !isCMSLabel(l.name, cmsLabelPrefix)); |
no test coverage detected