From 162cd4295810029595abac112f9c619bd69d8b34 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 12 Dec 2024 14:53:45 +0300 Subject: [PATCH] fix: use correct remote scripts folder --- internal/lefthook/run.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/lefthook/run.go b/internal/lefthook/run.go index ff9fc129..f7d97e5f 100644 --- a/internal/lefthook/run.go +++ b/internal/lefthook/run.go @@ -144,7 +144,6 @@ func (l *Lefthook) Run(hookName string, args RunArgs, gitArgs []string) error { sourceDirs = append( sourceDirs, filepath.Join( - l.repo.RootPath, l.repo.RemoteFolder(remote.GitURL, remote.Ref), cfg.SourceDir, ),