From 4011302af73a5b0a26b8887fb78ac72f6a899695 Mon Sep 17 00:00:00 2001 From: Rawiri Blundell Date: Sat, 1 Jan 2022 12:18:41 +1300 Subject: [PATCH] Fix issue raised in #140 --- ci/codebuild/format-check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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