Hopefully triggering the precommit hook

Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
Andrew Keesler 2021-01-05 14:15:46 -08:00 committed by Margo Crawford
parent f1e177fee7
commit 53a185083c
2 changed files with 3 additions and 2 deletions

4
hack/check-copyright-year.sh Normal file → Executable file
View File

@ -1,8 +1,8 @@
#
# Check if copyright statements include the current year
#
files=git diff --cached --name-only
year=date +"%Y"
files=$(git diff --cached --name-only)
year=$(date +"%Y")
for f in $files; do
head -10 $f | grep -i copyright 2>&1 1>/dev/null || continue

View File

@ -25,6 +25,7 @@ import (
"go.pinniped.dev/internal/testutil"
)
// this is a comment
var (
owner = &appsv1.Deployment{
ObjectMeta: metav1.ObjectMeta{