Skip to content

Commit

Permalink
fix typo 🤦
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnworb committed Dec 2, 2024
1 parent dfbcf3b commit f5d9680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/private/package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_class_name(package, src, prefixes = []):
# safe to add the class name. While `get_package_name` does
# the right thing, the parameter passed by a user may not
# so we shall check once we have `pkg` just to be safe.
pkg = package != None if package else get_package_name(prefixes)
pkg = package if package != None else get_package_name(prefixes)
if len(pkg) and not pkg.endswith("."):
pkg = pkg + "."

Expand Down

0 comments on commit f5d9680

Please sign in to comment.