diff --git a/githooks/pre-commit b/githooks/pre-commit index 05b6d5d..e083cfe 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -45,10 +45,10 @@ case $indentation in done reset ;; - "") + ""|off) echo "Skipping indentation check" ;; - *|off) + *) echo "Cannot check for indentation type \033[31m'$indentation'\033[00m" exit 1 ;;