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 f5e5923
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 @@ -87,6 +87,8 @@ def _args_aspect_impl(target, ctx):
labels = {}

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

Expand Down

0 comments on commit f5e5923

Please sign in to comment.