Skip to content

Commit

Permalink
Work around buildifier issue
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Jul 22, 2024
1 parent 4e43f75 commit 9dd3143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions with_cfg/private/args.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ def _args_aspect_impl(target, ctx):

labels = {}

# buildifier thinks that "label" references the variable in the for loop below.
# buildifier: disable=uninitialized
def collect_label(label):
labels[label] = None
return label
Expand Down

0 comments on commit 9dd3143

Please sign in to comment.