From 2fdd09cfb524248b1b8b12bab1bd6f9ce7a61d08 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 29 Apr 2023 16:09:12 +0200 Subject: fix pre-commit.sh --- scripts/pre-commit.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pre-commit.sh b/scripts/pre-commit.sh index 8a98a0e..df003fe 100755 --- a/scripts/pre-commit.sh +++ b/scripts/pre-commit.sh @@ -8,7 +8,7 @@ if ! command -v git-clang-format &> /dev/null; then exit 1 fi -output="$( git clang-format --style file --diff )" +output="$( git clang-format --style file --diff )" || true ok1='no modified files to format' ok2='clang-format did not modify any files' -- cgit v1.2.3