Skip to content

Commit

Permalink
Normalize glob to regex creation for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcompiles committed Oct 19, 2023
1 parent bb7ff69 commit 1fdd9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/utils/src/glob.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function globMatch(
}

export function globToRegex(glob: Glob, opts?: Options): RegExp {
return makeRe(glob, opts);
return makeRe(normalizeSeparators(glob), opts);
}

export function globSync(
Expand Down

0 comments on commit 1fdd9c3

Please sign in to comment.