From 80ee91293882a6191e324c01e9a979a9ba1af9eb Mon Sep 17 00:00:00 2001 From: kubbot <3293172751ysy@gmail.com> Date: Fri, 30 Jun 2023 09:55:42 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20OpenIM?= =?UTF-8?q?SDK/Open-IM-Server?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 kubbot to synchronize the warehouse --- scripts/githooks/commit-msg | 4 ++-- scripts/githooks/pre-push | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/githooks/commit-msg b/scripts/githooks/commit-msg index eede298..66b40d0 100644 --- a/scripts/githooks/commit-msg +++ b/scripts/githooks/commit-msg @@ -17,12 +17,12 @@ # # Store this file as .git/hooks/commit-msg in your repository in order to # enforce checking for proper commit message format before actual commits. -# You may need to make the script executable by 'chmod +x .git/hooks/commit-msg'. +# You may need to make the scripts executable by 'chmod +x .git/hooks/commit-msg'. # commit-msg use go-gitlint tool, install go-gitlint via `go get github.com/llorllale/go-gitlint/cmd/go-gitlint` # go-gitlint --msg-file="$1" -# An example hook script to check the commit log message. +# An example hook scripts to check the commit log message. # Called by "git commit" with one argument, the name of the file # that has the commit message. The hook should exit with non-zero # status after issuing an appropriate message if it wants to stop the diff --git a/scripts/githooks/pre-push b/scripts/githooks/pre-push index ef1b5b1..c8ad61a 100644 --- a/scripts/githooks/pre-push +++ b/scripts/githooks/pre-push @@ -36,7 +36,7 @@ printError() { printMessage "Running local OpenIM pre-push hook." if [[ `git status --porcelain` ]]; then - printError "This script needs to run against committed code only. Please commit or stash you changes." + printError "This scripts needs to run against committed code only. Please commit or stash you changes." exit 1 fi