Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: npm hook ls duplicates hook name prefixes #5295

Merged
merged 3 commits into from
Oct 19, 2022

Conversation

gennadiygashev
Copy link
Contributor

@gennadiygashev gennadiygashev commented Aug 10, 2022

  • Fixes double prefix for hooks scopes names
  • Fixes libnpmhook mocks (In the function logic, the symbol @ is not removed from the hooks scopes names, but in mocks it is removed. I fixed the mocks and made this logic like in a function.)
  • Fixes wrong test cases

References

fixes #4201

@gennadiygashev gennadiygashev changed the title fix: fix: npm hook ls duplicates hook name prefixes Aug 10, 2022
@gennadiygashev gennadiygashev marked this pull request as ready for review August 10, 2022 18:05
@gennadiygashev gennadiygashev requested a review from a team as a code owner August 10, 2022 18:05
@lukekarrys lukekarrys added the Needs Triage needs review for next steps label Aug 24, 2022
@fritzy fritzy force-pushed the latest branch 2 times, most recently from 3037d35 to f3b0c43 Compare September 14, 2022 23:09
@lukekarrys lukekarrys merged commit fc82298 into npm:latest Oct 19, 2022
lukekarrys pushed a commit that referenced this pull request Oct 19, 2022
* fix: duplicate hook names

* fix: incorrect names in mocks
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Needs Triage needs review for next steps
Projects
None yet
Development

Successfully merging this pull request may close these issues.

npm hook ls duplicates hook name prefixes
3 participants