We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79f4073 commit 9d8f546Copy full SHA for 9d8f546
cli/src/main/kotlin/com/bazel_diff/bazel/BazelQueryService.kt
@@ -103,11 +103,12 @@ class BazelQueryService(
103
return ""
104
if "IncompatiblePlatformProvider" not in providers(target):
105
label = str(target.label)
106
+ # normalize label to be consistent with content inside proto
107
if label.startswith("@//"):
- # normalize label to be consistent with content inside proto
108
return label[1:]
109
- else:
110
- return label
+ if label.startswith("@@//"):
+ return label[2:]
111
+ return label
112
113
""".trimIndent())
114
add(cqueryOutputFile.toString())
0 commit comments