We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/
π First off thanks for your work on glob. π
There's a bug in npm workspaces that I tracked back to this unexpected result in glob.
Here's an easy way to demonstrate the issue:
β Desktop deno eval 'import("npm:[email protected]").then(({ glob }) => glob("bin")).then(console.log)' [ "bin" ] β Desktop cd / β / deno eval 'import("npm:[email protected]").then(({ glob }) => glob("bin")).then(console.log)' [ "/bin" ]
When run in ~/Desktop it's matching the folder bin, and when run in / it's matching /bin.
~/Desktop
bin
/bin
Is this expected behavior?
The text was updated successfully, but these errors were encountered:
Interesting, so the issue is that an entry in / has the / prefix attached to it?
That's not expected, no. Definitely a bug, because it's not how bash 5 does it.
Sorry, something went wrong.
@isaacs yep! thats the issue!
isaacs/path-scurry@7b26587
0e7f0cf
Fixed in latest :)
engines
node:
No branches or pull requests
π First off thanks for your work on glob. π
There's a bug in npm workspaces that I tracked back to this unexpected result in glob.
Here's an easy way to demonstrate the issue:
When run in
~/Desktop
it's matching the folderbin
, and when run in/
it's matching/bin
.Is this expected behavior?
The text was updated successfully, but these errors were encountered: