diff --git a/hooks/linux-macos/pre-commit b/hooks/linux-macos/pre-commit index a135916c..7ce60a58 100644 --- a/hooks/linux-macos/pre-commit +++ b/hooks/linux-macos/pre-commit @@ -48,4 +48,6 @@ EOF # exec git diff-index --check --cached $against -- fi -./check-before-push.sh +if [ -e "./check-before-push.sh" ]; then + ./check-before-push.sh +fi