diff --git a/tools/format.sh b/tools/format.sh index 9b9565222b..1b150dbca3 100755 --- a/tools/format.sh +++ b/tools/format.sh @@ -51,7 +51,7 @@ fi if which "$BUILDIFIER" >/dev/null; then echo "Running $BUILDIFIER" "$BUILDIFIER" $($FIND -name WORKSPACE -print -o -name BUILD -print -o \ - -name '*.bzl' -print) + -name '*.BUILD' -o -name '*.bzl' -print) else echo "Can't find buildifier. It can be installed with:" echo " go get github.com/bazelbuild/buildtools/buildifier"