Skip to content

Commit 6cd712b

Browse files
committed
scripts: Disable bogus error messages in clang-format script.
1 parent b7d6bb4 commit 6cd712b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runClangFormat.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ set -e
2222
cd "$(dirname $0)"
2323
if [ ! "${CLANGFORMAT}" ]; then
2424
for tool in ${ACCEPTABLE_CLANG_FORMATS}; do
25-
if which $tool > /dev/null; then
25+
if which $tool > /dev/null 2> /dev/null; then
2626
CLANGFORMAT=$tool
2727
break
2828
fi

0 commit comments

Comments
 (0)