Skip to content

Commit 7a9a5d6

Browse files
authored
Fix picomatch usage on windows for glob matching
1 parent ee9365a commit 7a9a5d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

wrapper.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ function normalizeOptions(dir, opts = {}) {
1919
// regular expression on Linux where the resulting
2020
// negative lookahead `(?!(\\/|^)` was never matching
2121
// in some cases. See also https://bit.ly/3UZlQDm
22-
dot: true
22+
dot: true,
23+
windows: process.platform === 'win32',
2324
});
2425
opts.ignoreGlobs.push(regex.source);
2526
} else {

0 commit comments

Comments
 (0)