bun icon indicating copy to clipboard operation
bun copied to clipboard

make the `bun upgrade <package name>` error smarter

Open RiskyMH opened this issue 5 months ago • 1 comments
trafficstars

What does this PR do?

fixes #20347 by not strictly checking 2nd+ index of argv and instead checking all argv and thus --bun is discarded.

also updates the tests so hopefully the other successful tests don't inflate bun's download numbers

  • [ ] Documentation or TypeScript types (it's okay to leave the rest blank in this case)
  • [ ] Code changes

How did you verify your code works?

manually ran bun-debug upgrade (and other variations) and it worked as expected

RiskyMH avatar Jun 13 '25 05:06 RiskyMH

Updated 3:14 AM PT - Jun 13th, 2025

:x: @RiskyMH, your commit a5d81c9815d9a3b4d5eabbc1f36d2cc0fad4ebd8 has 1 failures in Build #18614:


🧪   To try this PR locally:

bunx bun-pr 20367

That installs a local version of the PR into your bun-20367 executable, so you can run:

bun-20367 --bun

robobun avatar Jun 13 '25 05:06 robobun