Skip to content

Commit f01b3f8

Browse files
committed
Update common.bzl
1 parent 4ec2d0d commit f01b3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

toolchain/internal/common.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def is_absolute_path(val):
207207

208208
def pkg_name_from_label(label):
209209
s = str(label)
210-
return s[:s.rindex(":")]
210+
return s[:s.index(":")]
211211

212212
def pkg_path_from_label(label):
213213
if label.workspace_root:

0 commit comments

Comments
 (0)