evilmartians / lefthook

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

Fixed the use of '.Extension' in hook.tmpl #767

Closed apfohl closed 1 month ago

apfohl commented 1 month ago

Fixes #766

:zap: Summary

After using range .Extension cant be accessed on the resulting string. Two places where missed where this leads to a problem. They were replaced in this PR.

:ballot_box_with_check: Checklist