diff --git a/Makefile b/Makefile index 45f082e24bd..a653b42ce86 100644 --- a/Makefile +++ b/Makefile @@ -212,7 +212,7 @@ fmt: ## format the Go and template code .PHONY: fmt-check fmt-check: fmt - @diff=$$(git diff --color=always $(GO_SOURCES) templates $(WEB_DIRS)); \ + @diff=$$(git diff --color=always $(GO_SOURCES) templates); \ if [ -n "$$diff" ]; then \ echo "Please run 'make fmt' and commit the result:"; \ printf "%s" "$${diff}"; \