Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Future-proof intellij_info creation by stripping leading '@'s from ma…
…in-repo labels (bazelbuild#3913) Both "@//foo:bar" and "//foo:bar" mean the same thing in the main repo, but the latter can be ambiguous in a non-main repo, so Bazel 6.0 is going to flip bazelbuild/bazel#16196 (i.e. produce "@//foo:bar" instead of "//foo:bar" when `str(label)` is called). This means that for certain intellij tests (such as those deriving from IntellijAspectTest) to keep working, we need to strip the leading '@'s from any such labels.
- Loading branch information