Skip to content

dart pub global activate should error if there are build hooks #4609

Open
@dcharkes

Description

@dcharkes

Since dart pub <...> is implemented in this package, we need to do that here.

If we don't want to duplicate code between dartdev and pub for checking whether there are hooks, we should consider adding a callback function to

Command<int> pubCommand({required bool Function() isVerbose}) =>
    PubEmbeddableCommand(isVerbose);

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions