Revision | 1181 (tree) |
---|---|
Time | 2021-01-01 05:32:40 |
Author | stefankueng |
update the checkyear.js script for 2021
@@ -1,6 +1,6 @@ | ||
1 | 1 | /* This script is a local pre-commit hook script. |
2 | 2 | * It's used to check whether the copyright year of modified files has been |
3 | - * bumped up to the current (2015) year. | |
3 | + * bumped up to the current year. | |
4 | 4 | * |
5 | 5 | * Only *.cpp, *.h and *.idl files are checked |
6 | 6 | * |
@@ -19,7 +19,7 @@ | ||
19 | 19 | WScript.Quit(1); |
20 | 20 | } |
21 | 21 | |
22 | -var re = /^\/\/ Copyright.+(2019)(.*)/; | |
22 | +var re = /^\/\/ Copyright.+(2021)(.*)/; | |
23 | 23 | var basere = /^\/\/ Copyright(.*)/; |
24 | 24 | var filere = /(\.cpp$)|(\.h$)|(\.idl$)/; |
25 | 25 |