Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Ongy committed Jan 24, 2025
1 parent 932ac5b commit 988121b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/extensions.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ def _helm_impl(ctx):
_register_toolchains(**toolchain_config)
_register_go_yaml()

# Separate iteration, because this can depend on the _register_toolchains called above.
# And the _register_toolchains needs to be called *after* iteration of all modules.
for module in ctx.modules:
for repository in module.tags.import_repository:
if not module.is_root:
print("Ignoring import_repository of", repository.name, "from", repository.repository, "because it's not in the root module") # buildifier: disable=print
Expand Down

0 comments on commit 988121b

Please sign in to comment.