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

Fix package name when refreshing binstubs #4205

Merged

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Apr 2, 2024

By mistake we were using the name of the dummy-package "pub global activate" instead of the activated package.

/// [Entrypoint.workspaceRoot].
Package activatedPackage(Entrypoint entrypoint) {
if (entrypoint.isCachedGlobal) {
final dep = entrypoint.workspaceRoot.dependencies.keys.single;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth explaining how we create a dummy package.

@sigurdm sigurdm merged commit f3b1199 into dart-lang:master Apr 4, 2024
23 checks passed
sigurdm added a commit that referenced this pull request Apr 5, 2024
Merge cherry pick of "Fix package name when refreshing binstubs" (#4205)
gspencergoog added a commit to gspencergoog/pub that referenced this pull request May 1, 2024
gspencergoog added a commit to gspencergoog/pub that referenced this pull request May 1, 2024
jakemac53 pushed a commit that referenced this pull request May 1, 2024
sigurdm added a commit to sigurdm/pub that referenced this pull request May 7, 2024
@sigurdm sigurdm mentioned this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants