Skip to content

Commit

Permalink
fix check headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregor Gololicic committed May 16, 2022
1 parent 9aaa892 commit e4270ae
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)|(generated (from|by))')
if [ -n "$files" ]; then
echo "Missing license header in:"
echo "$files"
Expand Down

0 comments on commit e4270ae

Please sign in to comment.