Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
content/static: generate constant 2019 copyright year
The generated static.go file was created in 2019 in CL 156321, and it inherited the generator code from x/tools that uses today's year. There isn't a need to update the copyright year, so make it a constant. This change fixes the failing TestStaticIsUpToDate test in 2020, and prevents it from breaking in every future year. Fixes golang/go#36360 Updates golang/go#11811 Change-Id: Ie87b1219448f1e288539f95280492b4f95b76798 Reviewed-on: https://go-review.googlesource.com/c/website/+/213121 Run-TryBot: Dmitri Shuralyov <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Rebecca Stambler <[email protected]>
- Loading branch information