Skip to content

Commit

Permalink
exclude generated file from make check-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdn5126 committed Jan 26, 2023
1 parent b53e45b commit d7447e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,7 @@ format: ## Format all Go source code files. (Note! integration_test.go has
-not -name 'integration_test.go' \
-not -name 'mock_publisher.go' \
-not -name 'rpc.pb.go' \
-not -name 'vpc_ip_resource_limit.go' \
-name '*.go' \
-print0 | sort -z | xargs -0 -- goimports $(or $(FORMAT_FLAGS),-w) | wc -l | bc)

Expand Down

0 comments on commit d7447e8

Please sign in to comment.