Returns a new array which only includes files that did not match the given pattern.
(pattern: string)
| 37 | |
| 38 | /** Returns a new array which only includes files that did not match the given pattern. */ |
| 39 | exclude(pattern: string): PullApproveGroupArray { |
| 40 | return new PullApproveGroupArray(...this.filter((s) => s.groupName.match(pattern))); |
| 41 | } |
| 42 | |
| 43 | get approved() { |
| 44 | throw new PullApproveGroupStateDependencyError(); |