Closed dwightmulcahy closed 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.
hookName
SHEBANG
NEW_LINE
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!
Added
hookName
validation. Changed debug log msg to info to output the hooks that are written. No need to add theSHEBANG
if the script already starts with one. MadeNEW_LINE
not system dependent.