phillipuniverse / githook-maven-plugin

Maven plugin to install local git hooks
MIT License
28 stars 1 forks source link

Hook names are validated and info msgs outputted. #5

Closed dwightmulcahy closed 5 years ago

dwightmulcahy commented 5 years ago

Added hookName validation. Changed debug log msg to info to output the hooks that are written. No need to add the SHEBANG if the script already starts with one. Made NEW_LINE not system dependent.

phillipuniverse commented 5 years ago

Thanks for the contribution! Didn't even think about validating the hook name. I can also see a case for outputting the file write at INFO.

I'll throw out another release early next week. Thanks again!