Skip to content

Commit ce8faa7

Browse files
authored
Don't silence stderr in format.sh (SeleniumHQ#15804)
Make error visible when trying to run format.sh script without bazel installed
1 parent 12e04b6 commit ce8faa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/format.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ section() {
66
echo "- $*" >&2
77
}
88

9-
WORKSPACE_ROOT="$(bazel info workspace 2>/dev/null)"
9+
WORKSPACE_ROOT="$(bazel info workspace)"
1010

1111
GOOGLE_JAVA_FORMAT="$(bazel run --run_under=echo //scripts:google-java-format)"
1212

0 commit comments

Comments
 (0)