Returns a new array which only includes files that did not match the given pattern.
(pattern: string)
| 22 | |
| 23 | /** Returns a new array which only includes files that did not match the given pattern. */ |
| 24 | exclude(pattern: string): PullApproveStringArray { |
| 25 | return new PullApproveStringArray(...this.filter((s) => !getOrCreateGlob(pattern).match(s))); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | /** |
nothing calls this directly
no test coverage detected