Skip to content

.dart_tool/pub/workspace_ref.json is not cleaned up #4810

@davidmorgan

Description

@davidmorgan

In build_runner I assumed that the presence of workspace_ref.json means the package is in a workspace, but this doesn't work: if you remove resolution: workspace then dart pub get then workspace_ref.json is not deleted.

I will fix build_runner by checking for resolution: workspace in the pubspec.

Maybe it would be good to also make pub get clean up workspace_ref.json? Feel free to close if this doesn't make sense for you, it's just a suggestion :) thanks!

build_runner issue: dart-lang/build#4888 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions