From 72cc1f0bfa01d4e9fb7fe90e6da38db202c1db15 Mon Sep 17 00:00:00 2001 From: Cole Wippern Date: Fri, 3 Jan 2020 13:02:05 -0800 Subject: [PATCH] fix #948 update license years --- hack/boilerplate/boilerplate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/boilerplate/boilerplate.py b/hack/boilerplate/boilerplate.py index 83e6b1b3e..dfaa5fe70 100644 --- a/hack/boilerplate/boilerplate.py +++ b/hack/boilerplate/boilerplate.py @@ -142,8 +142,8 @@ def get_regexs(): 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( '(2018)' ) + # dates can be 2018, 2019, 2020 company holder names can be anything + regexs["date"] = re.compile( '(2018|2019|2020)' ) # strip // +build \n\n build constraints regexs["go_build_constraints"] = re.compile(r"^(// \+build.*\n)+\n", re.MULTILINE) # strip #!.* from shell scripts