Skip to content

Commit

Permalink
fix: output directory should be declared as directory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Dec 22, 2021
1 parent 219d173 commit 33d5a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swc/private/swc.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def _impl(ctx):
fail("Under output_dir, there must be a single entry in srcs")
if not ctx.files.srcs[0].is_directory:
fail("Under output_dir, the srcs must be directories, not files")
out = ctx.actions.declare_file(ctx.label.name)
out = ctx.actions.declare_directory(ctx.label.name)
outputs.append(out)
args.add_all([
ctx.files.srcs[0].path,
Expand Down

0 comments on commit 33d5a39

Please sign in to comment.