Skip to content

Add some logging to indicate why "pub get"/"pub upgrade" may be required #4474

@DanTup

Description

@DanTup

Both @jacob314 and @kenzieschmoll have reported seeing "Run pub get?" prompts appearing more often than they would expect (perhaps after changing Git branches).

I can only reproduce this when changing a branch that modifies the pubspec (which I think is to be expected), but we should log in the extension log why we think "pub get" is required so it'll be easier to track down if there are cases we can handle better.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in commandsRelates to commands (usually invoked from the command Palette)is enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions