Skip to content

Commit

Permalink
fix: Handle the empty whl_map correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
kshramt committed Dec 17, 2023
1 parent b99027f commit 8230605
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/private/render_pkg_aliases.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def render_pkg_aliases(*, repo_name, bzl_packages = None, whl_map = None, rules_
Returns:
A dict of file paths and their contents.
"""
if not bzl_packages and whl_map:
if bzl_packages == None:
bzl_packages = list(whl_map.keys())

contents = {}
Expand Down

0 comments on commit 8230605

Please sign in to comment.