diff --git a/ci/codebuild/format-check.sh b/ci/codebuild/format-check.sh index 3afb802..222b784 100755 --- a/ci/codebuild/format-check.sh +++ b/ci/codebuild/format-check.sh @@ -4,7 +4,7 @@ set -euo pipefail CLANG_FORMAT=clang-format -if NOT type $CLANG_FORMAT > /dev/null 2>&1; then +if ! type $CLANG_FORMAT > /dev/null 2>&1; then echo "No appropriate clang-format found." exit 1 fi