Skip to content

Commit dbf14b7

Browse files
authored
ci(format): exclude vendor directory (#1770)
1 parent 3f928f8 commit dbf14b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ start-mock-api: ## Start the mock rhoas server
6565
format: ## Clean up code and dependencies
6666
@go mod tidy
6767

68-
@gofmt -w `find . -type f -name '*.go'`
68+
@gofmt -w `find . -type f -name '*.go' ! -path './vendor/*'`
6969
.PHONY: format
7070

7171
check-docs: generate-docs ## Check whether reference documentation needs to be generated

0 commit comments

Comments
 (0)