Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f514bf8

Browse files
committed
refactor: remove unnecessary toArray
1 parent 8a09a20 commit f514bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/filter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ function normalizeFilter(filter: StringFilter): NormalizedStringFilter {
8686
}
8787
if (Array.isArray(filter)) {
8888
return {
89-
include: toArray(filter),
89+
include: filter,
9090
}
9191
}
9292
return {

0 commit comments

Comments
 (0)