diff --git a/hooks/windows/pre-commit b/hooks/windows/pre-commit index 15aa4632..842f923d 100644 --- a/hooks/windows/pre-commit +++ b/hooks/windows/pre-commit @@ -38,8 +38,8 @@ if ($allownonascii -ne $true) { # Call an additional script for checks before pushing (if applicable) # Ensure that `check-before-push.ps1` exists in the repo -if (Test-Path "./check-before-push.ps1") { - & "./check-before-push.ps1" +if (Test-Path "./check-before-push.bat") { + & "./check-before-push.bat" } exit 0