Skip to content

Commit

Permalink
scripts: Disable bogus error messages in clang-format script.
Browse files Browse the repository at this point in the history
  • Loading branch information
rpavlik committed Aug 7, 2020
1 parent b7d6bb4 commit 6cd712b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runClangFormat.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set -e
cd "$(dirname $0)"
if [ ! "${CLANGFORMAT}" ]; then
for tool in ${ACCEPTABLE_CLANG_FORMATS}; do
if which $tool > /dev/null; then
if which $tool > /dev/null 2> /dev/null; then
CLANGFORMAT=$tool
break
fi
Expand Down

0 comments on commit 6cd712b

Please sign in to comment.