Skip to content

Commit

Permalink
Merge pull request #22 from Kernald/fix-depset
Browse files Browse the repository at this point in the history
Fix depset not iterable
  • Loading branch information
pcj committed Nov 12, 2019
2 parents f6dbf50 + b36769e commit cee50ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo/internal/hugo_site.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _hugo_site_impl(ctx):
if ctx.attr.theme:
theme = ctx.attr.theme.hugo_theme
hugo_args += ["--theme", theme.name]
for i in theme.files:
for i in theme.files.to_list():
if i.short_path.startswith("../"):
o_filename = "/".join(["themes", theme.name] + i.short_path.split("/")[2:])
else:
Expand Down

0 comments on commit cee50ac

Please sign in to comment.