diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 16:09:12 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 16:09:12 +0200 |
commit | 2fdd09cfb524248b1b8b12bab1bd6f9ce7a61d08 (patch) | |
tree | 4f917929eedc5170d018b931d330cb36093143ae | |
parent | make struct ci_queue_entry opaque (diff) | |
download | cimple-2fdd09cfb524248b1b8b12bab1bd6f9ce7a61d08.tar.gz cimple-2fdd09cfb524248b1b8b12bab1bd6f9ce7a61d08.zip |
fix pre-commit.sh
-rwxr-xr-x | scripts/pre-commit.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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' |