Skip to content
New issue

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

Shell glob doesn't match directories when using rm -rf #9744

Open
Jarred-Sumner opened this issue Mar 30, 2024 · 1 comment
Open

Shell glob doesn't match directories when using rm -rf #9744

Jarred-Sumner opened this issue Mar 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working shell Something to do with Bun as a shell

Comments

@Jarred-Sumner
Copy link
Collaborator

Bun v1.0.36

When using the bun shell:

import { $ } from 'bun';
await $`rm -rf /tmp/bunx-*`

This outputs:

bun: no matches found: /private/tmp/bunx-*/

When using bash or zsh or fish, it succeeds when there are directories matching the pattern in /tmp/bunx-*

@Jarred-Sumner Jarred-Sumner added bug Something isn't working shell Something to do with Bun as a shell labels Mar 30, 2024
@zackradisic
Copy link
Contributor

This should be fixed with with #10121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working shell Something to do with Bun as a shell
Projects
None yet
Development

No branches or pull requests

2 participants