Skip to content

Commit fcdcd37

Browse files
committed
build: does minimatch 6 break things
1 parent 60da222 commit fcdcd37

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class TestExclude {
104104

105105
globSync(cwd = this.cwd) {
106106
const globPatterns = getExtensionPattern(this.extension || []);
107-
const globOptions = { cwd, nodir: true, dot: true };
107+
const globOptions = { cwd, nodir: true, dot: true, posix: true };
108108
/* If we don't have any excludeNegated then we can optimize glob by telling
109109
* it to not iterate into unwanted directory trees (like node_modules). */
110110
if (this.excludeNegated.length === 0) {
@@ -118,7 +118,7 @@ class TestExclude {
118118

119119
async glob(cwd = this.cwd) {
120120
const globPatterns = getExtensionPattern(this.extension || []);
121-
const globOptions = { cwd, nodir: true, dot: true };
121+
const globOptions = { cwd, nodir: true, dot: true, posix: true };
122122
/* If we don't have any excludeNegated then we can optimize glob by telling
123123
* it to not iterate into unwanted directory trees (like node_modules). */
124124
if (this.excludeNegated.length === 0) {

0 commit comments

Comments
 (0)