chore: fix copyright year check
@@ -33,7 +33,7 @@ case $file in
AUTHORS|CONTRIBUTORS|WORKSPACE|third_party/*|tools/*|*.md|*BUILD|*/testdata/*|*.yaml|*.json|*.html|*.pb.go|.arclint|.gitignore|*/.gitignore|.arcconfig|*/__phutil_*|*.bzl|.kythe|kythe/web/site/*|go.mod|go.sum|*bazelrc|*.yml|.bazel*version|*.lock)
;; # skip copyright checks
*)
- if ! grep -q 'Copyright 201[4-9] The Kythe Authors. All rights reserved.' "$file"; then
+ if ! grep -q 'Copyright 20[12][0-9] The Kythe Authors. All rights reserved.' "$file"; then
echo 'copyright header::error:1 File missing copyright header'
fi ;;
esac
