Skip to content
This repository was archived by the owner on Dec 29, 2025. It is now read-only.

Commit a79a103

Browse files
authored
Fix formatter_composite
1 parent 503983f commit a79a103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate/rules.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ def _formatter_composite_impl(ctx):
153153

154154
def _fn(ctx, path, src, formatted):
155155
actions = ctx.actions
156-
name = ctx.attr
156+
name = ctx.attr.name
157157
for i, fn in enumerate(fns):
158158
tmp = formatted if i == len(fns) - 1 else actions.declare_file("%s.out.%s/%s" % (name, i + 1, src.path))
159159
fn(ctx, path, src, tmp)

0 commit comments

Comments
 (0)