Skip to content

Commit ebfe105

Browse files
committed
Hide error output
1 parent 5acd3fb commit ebfe105

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-bazel/toolchains-query.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ SCRIPT_DIR="$(dirname "$0")"
66
echo "\n"
77
echo "\n"
88
echo "--output build"
9-
bazel cquery --output build "@bazel_tools//tools/jdk:current_java_toolchain + @bazel_tools//tools/jdk:current_java_runtime"
9+
bazel cquery --output build "@bazel_tools//tools/jdk:current_java_toolchain + @bazel_tools//tools/jdk:current_java_runtime" 2>/dev/null
1010

1111
echo "\n"
1212
echo "\n"
1313
echo "--output starlark"
14-
bazel cquery --output starlark --starlark:file $SCRIPT_DIR/toolchains-query-format.scl "@bazel_tools//tools/jdk:current_java_toolchain + @bazel_tools//tools/jdk:current_java_runtime"
14+
bazel cquery --output starlark --starlark:file $SCRIPT_DIR/toolchains-query-format.scl "@bazel_tools//tools/jdk:current_java_toolchain + @bazel_tools//tools/jdk:current_java_runtime" 2>/dev/null
1515

1616
echo "\n"
1717
echo "\n"

0 commit comments

Comments
 (0)