Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Deps] update glob to v10 to fix ignore options on windows
The current version of `glob` returns paths always with forward slashes, even on windows. This causes the `dotignore` `Matcher` to never match the paths on windows, because it expects backslashes on windows. This means that the `--ignore` and `--ignore-pattern` options do not work properly on windows. This is fixed in a newer version of glob (not sure which specific version). However, the newer version returns paths in an undefined order, so a `sort()` is now necessary. This issue is already covered by existing test cases (test/ignore-pattern.js), that are currently failing when they are ran on windows. For example: `.\node_modules\.bin\tap test/*.js`. However, an additional fix is needed to make these tests pass (see next commit).
- Loading branch information