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
1.1.34
windows 10
Hi,
The following glob code works incorrect:
import { Glob } from "bun"; const glob = new Glob("**/*subdir"); console.log(glob.match("s/subsubdir")); // ->false
The result should be true. While the following returned is true anyway:
import { Glob } from "bun"; const glob = new Glob("**/*subdir"); console.log(glob.match("a/subsubdir")); // -> true
By digging around, I found bun used the lib globlin, which has the same issue, too. I raised an issue here:
The-King-of-Toasters/globlin#1
import { Glob } from "bun";
const glob = new Glob("**/*subdir");
console.log(glob.match("s/subsubdir")); // --> should return true
No response
The text was updated successfully, but these errors were encountered:
Related to #14934
Sorry, something went wrong.
thanks for your reply. Since it is already tracked, will close this.
No branches or pull requests
What version of Bun is running?
1.1.34
What platform is your computer?
windows 10
What steps can reproduce the bug?
Hi,
The following glob code works incorrect:
The result should be true. While the following returned is true anyway:
By digging around, I found bun used the lib globlin, which has the same issue, too. I raised an issue here:
The-King-of-Toasters/globlin#1
What is the expected behavior?
import { Glob } from "bun";
const glob = new Glob("**/*subdir");
console.log(glob.match("s/subsubdir")); // --> should return true
What do you see instead?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: