Browse Source

Stop discarding golangci-lint errors (#2383)

Signed-off-by: shuheiktgw <s-kitagawa@mercari.com>
Shuhei Kitagawa 2 years ago
parent
commit
7a7ab8ad29
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Makefile

+ 1 - 1
Makefile

@@ -144,7 +144,7 @@ fmt: lint.check ## Ensure consistent code style
 	@go mod tidy
 	@go mod tidy
 	@cd e2e/ && go mod tidy
 	@cd e2e/ && go mod tidy
 	@go fmt ./...
 	@go fmt ./...
-	@golangci-lint run --fix > /dev/null 2>&1 || true
+	@golangci-lint run --fix
 	@$(OK) Ensured consistent code style
 	@$(OK) Ensured consistent code style
 
 
 generate: ## Generate code and crds
 generate: ## Generate code and crds