Skip to content

Commit

Permalink
Update boilerplate.py year check.
Browse files Browse the repository at this point in the history
  • Loading branch information
gsquared94 committed Jan 7, 2021
1 parent dc7b38d commit 503a638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/boilerplate/boilerplate.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def get_regexs():
# Search for "YEAR" which exists in the boilerplate, but shouldn't in the real thing
regexs["year"] = re.compile( 'YEAR' )
# dates can be 2018, company holder names can be anything
regexs["date"] = re.compile( '(2019|2020)' )
regexs["date"] = re.compile( '(2019|2020|2021)' )
# strip // +build \n\n build constraints
regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE)
# strip #!.* from shell scripts
Expand Down

0 comments on commit 503a638

Please sign in to comment.