Skip to content

Commit

Permalink
Merge pull request #246 from stevekuznetsov/skuznets/fix-verify-boile…
Browse files Browse the repository at this point in the history
…rplate

verify-boilerplate: check generated files for YEAR
  • Loading branch information
k8s-ci-robot authored Nov 30, 2021
2 parents c1ad008 + 2eb098f commit 7edaebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify_boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def file_passes(filename, refs, regexs): # pylint: disable=too-many-locals

# check if we encounter a 'YEAR' placeholder if the file is generated
if is_generated(file_data):
for i, line in enumerate(ref):
for i, line in enumerate(data):
if "Copyright YEAR" in line:
return False

Expand Down

0 comments on commit 7edaebd

Please sign in to comment.