Skip to content

Commit

Permalink
ingore json files for license
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Constanti <github@constanti.de>
  • Loading branch information
bavarianbidi committed Jul 4, 2024
1 parent c93e8f4 commit cb65c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/verify-license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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$|^(go.sum|License)$')
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=()
Expand Down

0 comments on commit cb65c16

Please sign in to comment.