[CP] Fix package name when refreshing binstubs #55373
Labels
area-dart-cli
Use area-dart-cli for issues related to the 'dart' command like tool.
cherry-pick-approved
Label for approved cherrypick request
cherry-pick-review
Issue that need cherry pick triage to approve
dart-cli-pub
Issues related to the 'dart pub' tool
dependencies
Pull requests that update a dependency file
Commit(s) to merge
dart-lang/pub#4205
Was rolled to sdk main in https://dart-review.googlesource.com/c/sdk/+/361061
Target
beta
Prepared changelist for beta/stable
https://dart-review.googlesource.com/c/sdk/+/361102
Issue Description
dart pub global run
would (under some circumstances) rewrite binstubs with bad contents. Making them unrunable.What is the fix
Write the correct binstub instead of the broken one.
Why cherry-pick
This potentially affects all users of pub binstubs
Risk
Medium-Low
Issue link(s)
dart-lang/pub#4206
Extra Info
No response
The text was updated successfully, but these errors were encountered: