Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #1827
I did enable the
--incompatible_disallow_empty_glob
flag and found a few problems withglob
calls by it.Unfortunately, we cannot yet flip the switch to disallow empty glob results, since the embedded bazel_tools repository of the Bazel version we are using is not yet ready:
https://github.com/bazelbuild/bazel/blob/f64b7553607e1d3572611cc5011c498e3cd4505c/tools/jdk/jdk.BUILD#L165-L169
That is the reason the bindist checks fail with an error:
After review, I'll remove the flag again so CI will pass.