Skip to content

Commit

Permalink
Add tables to runfiles (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebarrau authored Aug 21, 2024
1 parent 37932dd commit 19c62d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions buildifier/internal/factory.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ def buildifier_impl_factory(ctx, test_rule = False):
)

runfiles = [ctx.executable.buildifier]
if ctx.attr.add_tables:
runfiles.append(ctx.file.add_tables)
if test_rule:
runfiles.extend(ctx.files.srcs)
if ctx.attr.no_sandbox:
Expand Down

0 comments on commit 19c62d9

Please sign in to comment.