File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,9 @@ fix-golangci-lint: | $(NEEDS_GOLANGCI-LINT) $(NEEDS_YQ) $(NEEDS_GCI) $(bin_dir)/
147147 @find . -name go.mod -not \( -path " ./$( bin_dir) /*" -or -path " ./make/_shared/*" \) \
148148 | while read d; do \
149149 target=$$(dirname $${d} ) ; \
150- echo " Running 'GOVERSION=$( VENDORED_GO_VERSION) $( bin_dir) /tools/golangci-lint fmt - c $( CURDIR) /$( golangci_lint_config) ' in directory '$$ {target}'" ; \
150+ echo " Running 'GOVERSION=$( VENDORED_GO_VERSION) $( bin_dir) /tools/golangci-lint run --fix - c $( CURDIR) /$( golangci_lint_config) --timeout $( golangci_lint_timeout ) ' in directory '$$ {target}'" ; \
151151 pushd " $$ {target}" > /dev/null; \
152- GOVERSION=$(VENDORED_GO_VERSION ) $(GOLANGCI-LINT ) fmt - c $(CURDIR ) /$(golangci_lint_config ) || exit ; \
152+ GOVERSION=$(VENDORED_GO_VERSION ) $(GOLANGCI-LINT ) run --fix - c $(CURDIR ) /$(golangci_lint_config ) --timeout $( golangci_lint_timeout ) || exit ; \
153153 popd > /dev/null; \
154154 echo " " ; \
155155 done
You can’t perform that action at this time.
0 commit comments