Skip to content

Commit 2b27a29

Browse files
committed
if the file is a generated and does not have date stop the checks
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
1 parent b719aa1 commit 2b27a29

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hack/verify_boilerplate.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def file_passes(filename, refs, regexs): # pylint: disable=too-many-locals
128128
for i, line in enumerate(data):
129129
if "Copyright YEAR" in line:
130130
return False
131+
return True
131132

132133
year = regexs["year"]
133134
for datum in data:

0 commit comments

Comments
 (0)