Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use posix paths with patterns passed to globby.
globby uses the fast-glob package, which states this in its README (RE: patterns): >⚠️ Always use forward-slashes in glob expressions (patterns and ignore > option). Use backslashes for escaping characters. Previously, we were using `path.join` which will use the OS specific separator and therefore fail to match files when invoked with a directory path directly. --- This also corrects for a bug in globby (to be reported/fixed separately) where the `cwd` option is defaulted to `process.cwd()` _without_ posix correction, and then subsequently an assertion is made that a given path "starts with" the cwd.
- Loading branch information