From d2a83a539ae7f68018b0b16e380f818467cc86f7 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:04:54 +0000 Subject: [PATCH 1/2] feat: Updated scripts/githooks/pre-commit.sh --- scripts/githooks/pre-commit.sh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/scripts/githooks/pre-commit.sh b/scripts/githooks/pre-commit.sh index b64dbb59..68d449b0 100644 --- a/scripts/githooks/pre-commit.sh +++ b/scripts/githooks/pre-commit.sh @@ -1,5 +1,5 @@ -chmod +x scripts/githooks/pre-commit.sh -chmod +x scripts/githooks/pre-commit.sh + + #!/usr/bin/env bash chmod +x scripts/githooks/pre-commit.sh #!/usr/bin/env bash @@ -41,8 +41,8 @@ RED="\e[31m" ENDCOLOR="\e[0m" printMessage() { - chmod +x scripts/githooks/pre-commit.sh - chmod +x scripts/githooks/pre-commit.sh + + printf "${YELLOW}openim : $1${ENDCOLOR}\n" } @@ -60,7 +60,7 @@ printMessage "Running local openim pre-commit hook." # https://gist.github.com/cubxxw/126b72104ac0b0ca484c9db09c3e5694#file-githook-md # TODO! GIT_FILE_SIZE_LIMIT=50000000 git commit -m "test: this commit is allowed file sizes up to 50MB" # Maximum file size limit in bytes -limit=${GIT_FILE_SIZE_LIMIT:-50000000} # Default 50MB +limit=${GIT_FILE_SIZE_LIMIT:-2000000} # Default 2MB limitInMB=$(( $limit / 1000000 )) function file_too_large(){ @@ -70,7 +70,7 @@ function file_too_large(){ filesize=$(( $1 \/ 2**20 ))\ncat < Date: Tue, 16 Jan 2024 04:05:20 +0000 Subject: [PATCH 2/2] feat: Updated docs/client_doc/docs/docsets/OpenIMS --- .../Contents/Resources/Documents/Classes.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/client_doc/docs/docsets/OpenIMSDKiOS.docset/Contents/Resources/Documents/Classes.html b/docs/client_doc/docs/docsets/OpenIMSDKiOS.docset/Contents/Resources/Documents/Classes.html index 1fea8c7c..8a3c81d8 100644 --- a/docs/client_doc/docs/docsets/OpenIMSDKiOS.docset/Contents/Resources/Documents/Classes.html +++ b/docs/client_doc/docs/docsets/OpenIMSDKiOS.docset/Contents/Resources/Documents/Classes.html @@ -40,19 +40,19 @@ Classes