clang-format.bash: Fix error message when clang-format is not found

Do not refer to a variable we just determined is empty to get the
name of the tool for the error message.  Just hard-code the name.
This commit is contained in:
Brad King
2017-07-05 12:55:03 -04:00
parent 295d9bf2bd
commit 16d495253b

View File

@@ -92,7 +92,7 @@ fi
# Verify that we have a tool.
if ! type -p "$clang_format" >/dev/null; then
echo "Unable to locate '$clang_format'"
echo "Unable to locate a 'clang-format' tool."
exit 1
fi