Skip to content

Commit ee22e92

Browse files
committed
Update check for existing com_google_protobuf
I'd previously checked for an existing `protobuf` rule, not `com_google_protobuf`. D'oh!
1 parent 340e8f7 commit ee22e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scala/private/macros/scala_repositories.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def rules_scala_setup(scala_compiler_srcjar = None):
101101
url = "https://github.com/abseil/abseil-cpp/archive/refs/tags/20220623.1.tar.gz",
102102
)
103103

104-
if not native.existing_rule("protobuf"):
104+
if not native.existing_rule("com_google_protobuf"):
105105
http_archive(
106106
name = "com_google_protobuf",
107107
sha256 = "75be42bd736f4df6d702a0e4e4d30de9ee40eac024c4b845d17ae4cc831fe4ae",

0 commit comments

Comments
 (0)