Skip to content

Commit

Permalink
fix: update excluded directories (#6457)
Browse files Browse the repository at this point in the history
The subdirecotries under the path `pkg/lorry/` has been changed, which
requires the header-check script to update the excluded dirs
correspondingly.
  • Loading branch information
Jaxx4Fun committed Apr 2, 2024
1 parent 647c0f6 commit e34cb36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/license/header-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ set -e -o pipefail
# Initialize vars
ERR=false
FAIL=false
EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/component/\|pkg/cli/cmd/plugin/download\|pkg\/common"
EXCLUDES_DIRS="vendor/\|apis/\|tools/\|externalapis/\|pkg/lorry/engines/\|pkg/lorry/util/\|pkg/cli/cmd/plugin/download\|pkg\/common"
APACHE2_DIRS="apis/\|externalapis/"

for file in $(git ls-files | grep '\.cue\|\.go$' | grep -v ${EXCLUDES_DIRS}); do
Expand Down

0 comments on commit e34cb36

Please sign in to comment.