oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.24k stars 2.77k forks source link

bun hijacked my script running #14733

Open wheakerd opened 3 weeks ago

wheakerd commented 3 weeks ago

What version of Bun is running?

1.1.32+fe8d0079e

What platform is your computer?

Linux 6.11.3-200.fc40.x86_64 x86_64 unknown

What steps can reproduce the bug?

bun hijacked my script execution. I expected bun run test to run bun run vitest --ui, but it got hijacked! It actually ran bun test. Why?

What is the expected behavior?

every time!

What do you see instead?

No response

Additional information

No response

wheakerd commented 3 weeks ago

bun run test -> bun test ?

nektro commented 3 weeks ago

do you currently have a folder named test in this project? i've seen this happen before in the past under that condition, apologies for any inconvenience this is causing