Relax version warning in clang-format precommit hook

Closes #60778.

(cherry picked from commit 9e66a947e4)
This commit is contained in:
Rémi Verschelde 2022-05-05 13:39:28 +02:00
parent e55e56b5fc
commit 40c9d01cb5
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ fi
# To get consistent formatting, we recommend contributors to use the same
# clang-format version as CI.
RECOMMENDED_CLANG_FORMAT_MAJOR_MIN="12"
RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="13"
RECOMMENDED_CLANG_FORMAT_MAJOR_MAX="14"
if [ ! -x "$CLANG_FORMAT" ] ; then
message="Error: clang-format executable not found. Please install clang-format $RECOMMENDED_CLANG_FORMAT_MAJOR_MAX."