From f6f9360620ec40fcd3c463ed24ea32f2a3c73700 Mon Sep 17 00:00:00 2001 From: rapaf Date: Fri, 18 Sep 2026 19:37:20 +0200 Subject: [PATCH] Ustaw absolutna sciezke hooka Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- install-cloudflare-hook.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-cloudflare-hook.ps1 b/install-cloudflare-hook.ps1 index 6c805a1..14dd0b1 100644 --- a/install-cloudflare-hook.ps1 +++ b/install-cloudflare-hook.ps1 @@ -8,7 +8,7 @@ if (-not (Test-Path $hooks)) { throw "Nie znaleziono folderu .git/hooks. Uruchom skrypt w katalogu repozytorium." } -git -C $root config --local core.hooksPath ".git/hooks" +git -C $root config --local core.hooksPath "$hooks" Copy-Item $source $target -Force Remove-Item (Join-Path $hooks "post-push.cmd") -Force -ErrorAction SilentlyContinue