precommit modified

jobatzil/rename
Enver Bisevac 2022-09-13 00:28:14 +02:00
parent f58ceac474
commit 90693f7a10
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ fi
# The files are then git-added
FILES=$(git diff --cached --name-only --diff-filter=ACMR | grep .go | sed 's| |\\ |g')
if [ -n "$FILES" ]; then
make check
make lint
if [ $? -ne 0 ]; then
echo "Error running make check - please fix before committing"
echo "if this is a mistake you can skip the checks with 'git commit --no-verify'"