Fix format CI test

This commit is contained in:
buffet 2021-08-26 12:42:18 +00:00
parent 67aa129ffc
commit bb9c2936fa

View file

@ -14,5 +14,5 @@ task:
script: script:
- sudo pacman --noconfirm -Syu - sudo pacman --noconfirm -Syu
- sudo pacman --noconfirm -S clang git - sudo pacman --noconfirm -S clang git
- clang-format -i **/*.{c,h} - find -name .git -prune -o -type f -name '*.[ch]' -print | xargs -d '\n' clang-format -i
- git diff --exit-code - git diff --exit-code