(hookBaseDir string, isReplace bool)
| 42 | } |
| 43 | |
| 44 | func createHooks(hookBaseDir string, isReplace bool) error { |
| 45 | return writeHooks(hookBaseDir, isReplace) |
| 46 | } |
| 47 | |
| 48 | func writeHooks(hookDir string, isReplace bool) error { |
| 49 | // if commit-msg already exists skip creating or overwriting it |
no test coverage detected