Skip to content

Commit

Permalink
accept Go copyright header
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Jul 13, 2022
1 parent ec25c81 commit bb62c93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-headers.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

files=$(find . -name \*.go -type f -print0 | xargs -0 grep -L -E '(Licensed under the Apache License)|(Code generated (from|by))')
files=$(find . -name \*.go -type f -print0 | xargs -0 grep -L -E '(Licensed under the Apache License)|(Code generated (from|by))|(Copyright .*\. All rights reserved)')
if [ -n "$files" ]; then
echo "Missing license header in:"
echo "$files"
Expand Down

0 comments on commit bb62c93

Please sign in to comment.