cli icon indicating copy to clipboard operation
cli copied to clipboard

fix: `npm hook ls` duplicates hook name prefixes

Open gennadiygashev opened this issue 1 year ago • 0 comments

  • 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 https://github.com/npm/cli/issues/4201

gennadiygashev avatar Aug 10 '22 18:08 gennadiygashev