Skip to content

npm hook ls duplicates hook name prefixes #4201

@Dionysusnu

Description

@Dionysusnu

Hooks for scopes get a double prefix, ie @@scope, when shown with the npm hook ls command. This is due to the response from the web request already including the prefix in the name field, and the following lines of code then locally adding the prefix again, duplicating it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugthing that needs fixingGood First Issuegood issue or PR for newcomersRelease 8.xwork is associated with a specific npm 8 release

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions