Skip to content

Commit

Permalink
fix: update excluded directories in header-check script (#6959)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaxx4Fun authored and TalktoCrystal committed Apr 11, 2024
1 parent 0b29d16 commit 2edf20f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ fmt: ## Run go fmt against code.
$(GOFMT) -l -w -s $$(git ls-files --exclude-standard | grep "\.go$$" | grep -v $(GENERATED_CLIENT_PKG))

.PHONY: vet
vet: ## Run go vet against code.
vet: test-go-generate ## Run go vet against code.
GOOS=$(GOOS) $(GO) vet -mod=mod ./...

.PHONY: cue-fmt
Expand Down
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 2edf20f

Please sign in to comment.