Skip to content

Commit

Permalink
πŸ”„ synced file(s) with OpenIMSDK/Open-IM-Server
Browse files Browse the repository at this point in the history
πŸ€– kubbot to synchronize the warehouse
  • Loading branch information
kubbot committed Jun 30, 2023
1 parent 74ecb1d commit 80ee912
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/githooks/commit-msg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/githooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 80ee912

Please sign in to comment.