Skip to content

Commit 8b85d98

Browse files
committed
Fix lint issue
1 parent a257c75 commit 8b85d98

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/path/functions/match.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export class Match implements FilterFunction {
4949
this.#cache = new LRUCache(this.cacheSize);
5050
}
5151

52+
// eslint-disable-next-line sonarjs/cognitive-complexity
5253
public call(s: string, pattern: string): boolean {
5354
if (this.cacheSize > 0) {
5455
const re = this.#cache.get(pattern);

src/path/functions/search.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export class Search implements FilterFunction {
5050
this.#cache = new LRUCache(this.cacheSize);
5151
}
5252

53+
// eslint-disable-next-line sonarjs/cognitive-complexity
5354
public call(s: string, pattern: string): boolean {
5455
if (this.cacheSize > 0) {
5556
const re = this.#cache.get(pattern);

0 commit comments

Comments
 (0)