Skip to content

Commit

Permalink
make clang-format githook required
Browse files Browse the repository at this point in the history
Skip-build: true

Signed-off-by: Dalton Bohning <[email protected]>
  • Loading branch information
daltonbohning committed Jan 22, 2025
1 parent 23df06e commit d5bf037
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/githooks/pre-commit.d/50-clang-format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ fi
if ! command -v git-clang-format > /dev/null 2>&1; then
echo "git-clang-format not installed."
echo "See ./utils/githooks/README.md#2-install-the-required-tools for instructions."
exit 0
exit 1
fi
if ! command -v clang-format > /dev/null 2>&1; then
echo "clang-format not installed."
echo "See ./utils/githooks/README.md#2-install-the-required-tools for instructions."
exit 0
exit 1
fi

echo "Formatting C files"
Expand Down

0 comments on commit d5bf037

Please sign in to comment.