tobiastimm / husky-hg

:dog: Git/Mercurial hooks made easy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"prepush" does not work

mateatslc opened this issue · comments

Doesn't trigger my prepush npm script (also gave pre-push a try to no avail).
The pre-push hook I'm trying to trigger with husky-hg works fine through hg.
Any idea?

env info: husky-hg@0.14.3, node@8.9.4, npm@5.6.0 on macOS v10.13.3

Looking further, it seems to me that only hooks listed in hg-hooks.json are supported, HOOKS.md suggests a lot more though. Confused...

yeah i forgot to change that. The documentation was made after I've created the hooks. Will fix that

@mateatslc should work with 0.14.4

Verified, works! Time to fix was amazing too ;)