Skip to content

Commit 6802642

Browse files
add_license.sh ignores zz_generated.* source files
Signed-off-by: Michael Valdron <[email protected]>
1 parent 829a3e8 commit 6802642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: add_licenses.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ then
2323
echo "error addlicense must be installed with this command: go install github.com/google/addlicense@latest" && exit 1
2424
else
2525
echo 'addlicense -v -f license_header.txt **/*.go'
26-
addlicense -v -f license_header.txt $(find . -not -path '*/\.*' -not -path '*/vendor/*' -name '*.go')
26+
addlicense -v -f license_header.txt $(find . -not -path '*/\.*' -not -path '*/vendor/*' -not -name 'zz_generated.*.go' -name '*.go')
2727
fi
2828

2929

0 commit comments

Comments
 (0)