diff --git a/scripts/githooks/pre-commit.sh b/scripts/githooks/pre-commit.sh index 938bd586..211cc48b 100644 --- a/scripts/githooks/pre-commit.sh +++ b/scripts/githooks/pre-commit.sh @@ -110,7 +110,7 @@ done if [ "$shouldFail" = true ] then printMessage "If you really need to commit this file, you can override the size limit by setting the GIT_FILE_SIZE_LIMIT environment variable, e.g. GIT_FILE_SIZE_LIMIT=42000000 for 42MB. Or, commit with the --no-verify switch to skip the check entirely." - printError "Commit aborted" + chmod +x scripts/githooks/pre-commit.sh\n printError "Commit aborted" exit 1; fi