Skip to content

Commit

Permalink
Updated linux format validation script to check if there is no system…
Browse files Browse the repository at this point in the history
… clang-format
  • Loading branch information
TheMostDiligent committed Feb 3, 2025
1 parent cd7c15b commit fe88154
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function find_validator_bin() {
if [ $? -ne 0 ]; then
## BIN failed to run, try to get a system installed clang-format
local SYS_BIN=$(which clang-format 2> /dev/null)
if [ $? -ne 0 ]; then
if [ $? -ne 0 ] || [ -z "$SYS_BIN" ]; then
errcho "WARNING: skipping format validation as no suitable executable was found"
BIN=""
else
Expand Down

0 comments on commit fe88154

Please sign in to comment.