ignore using a relative path is not working as expected with the cwd option.
For context, this is used in this repo. When attempting to update from 8 to 10, the tests are failing because of this issue.
To reproduce, in node-glob/test/ignore.ts, you can add the following test case:
[
'./*',
'./b',
j(['abcdef', 'abcfed', 'bc', 'c', 'cb', 'symlink', 'x', 'z']),
'a',
],