From b13832721272c91bcc0567107aed8d2048786bf8 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 04:51:45 +0000 Subject: [PATCH] feat: Updated scripts/githooks/pre-commit.sh --- scripts/githooks/pre-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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