From 5980de12b2404314d3ed303af21f4b0092e9ab3c Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Thu, 12 Dec 2024 15:04:09 +0300 Subject: [PATCH] fix: use correct remote scripts folder (#891) --- 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, ),