Skip to content

Commit 2116ab2

Browse files
authored
Update common.bzl
1 parent e5748d9 commit 2116ab2

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
@@ -202,7 +202,7 @@ def is_absolute_path(val):
202202

203203
def pkg_name_from_label(label):
204204
s = str(label)
205-
return s[:s.rindex(":")]
205+
return s[:s.index(":")]
206206

207207
def pkg_path_from_label(label):
208208
if label.workspace_root:

0 commit comments

Comments
 (0)