Skip to content

Commit 89ace2c

Browse files
committed
fix(scripts): fix 'glob' function ignores
1 parent e828b50 commit 89ace2c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

scripts/lib/glob.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
import { globSync } from "tinyglobby";
22

3-
export function glob(patterns: string[], exclude = ["**/node_modules/**"]) {
4-
return globSync(patterns, {
5-
ignore: [...exclude],
6-
});
3+
export function glob(patterns: string[], ignore = ["**/node_modules/**"]) {
4+
return globSync(patterns, { ignore });
75
}

0 commit comments

Comments
 (0)