From 0541a85ebd773804d957351f2a251f40cc0399fc Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Fri, 24 Jun 2022 07:48:47 +0300 Subject: [PATCH] fix: Run prepare-commig-msg hook but with limited logging Signed-off-by: Valentin Kiselev --- internal/lefthook/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/lefthook/run.go b/internal/lefthook/run.go index ce09d6a0..f466cef3 100644 --- a/internal/lefthook/run.go +++ b/internal/lefthook/run.go @@ -45,7 +45,7 @@ func (l *Lefthook) Run(hookName string, gitArgs []string) error { } if hookName == config.ChecksumHookName { - return nil + log.SetLevel(log.WarnLevel) } // Load config