From 67ca7a53b5bf3f3edeee290b0edfd63bd3f2db23 Mon Sep 17 00:00:00 2001 From: Matt Liggett Date: Mon, 9 Oct 2017 09:59:07 -0700 Subject: [PATCH] query --incompatible_comprehension_variables_do_not_leak=false Also set this flag for `bazel query` See #52677 --- build/root/.bazelrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/root/.bazelrc b/build/root/.bazelrc index 72956f94a8f..9101ce7a7cd 100644 --- a/build/root/.bazelrc +++ b/build/root/.bazelrc @@ -14,11 +14,14 @@ build --sandbox_fake_username # rules_go@82483596ec203eb9c1849937636f4cbed83733eb has a typo that # inadvertently relies on comprehension variables leaking. -# TODO(ixdy): Remove this default once rules_go is bumped. +# TODO(ixdy): Remove these defaults once rules_go is bumped. # Ref kubernetes/kubernetes#52677 build --incompatible_comprehension_variables_do_not_leak=false +query --incompatible_comprehension_variables_do_not_leak=false + # TODO(ixdy): remove the following once repo-infra is bumped. build --incompatible_disallow_set_constructor=false +query --incompatible_disallow_set_constructor=false # Enable go race detection. test --features=race