evilmartians / lefthook

Fast and powerful Git hooks manager for any type of projects.
MIT License
4.66k stars 211 forks source link

fix: verbose error on versions mismatch #721

Closed mrexox closed 3 months ago

mrexox commented 3 months ago

Closes https://github.com/evilmartians/lefthook/issues/718

:wrench: Summary

Now when lefthook version mismatches the following error will be printed:

Error: required lefthook version (1.6.13) is higher than current (1.6.11) at /Users/me/go/bin/lefthook
technicalpickles commented 3 months ago

Thanks for this! 🙇🏻