diff --git a/hack/verify-license.sh b/hack/verify-license.sh index 848f78f..fe9cc61 100755 --- a/hack/verify-license.sh +++ b/hack/verify-license.sh @@ -18,7 +18,7 @@ array_contains() { HEADER="SPDX-License-Identifier: MIT" export IFS=$'\n' -while IFS='' read -r line; do all_error_files+=("$line"); done < <(git ls-files | grep -v -E '\.yaml$|\.json$|^(go.sum|License|demo/app/go.sum)$') +while IFS='' read -r line; do all_error_files+=("$line"); done < <(git ls-files | grep -v -E '\.yaml$|\.json$|^(go.sum|LICENSE|demo/app/go.sum)$') unset IFS errors=()