diff --git a/Makefile b/Makefile index 4be07f7..099e1df 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ build: .PHONY: gofmt gofmt: - @test -z $(shell gofmt -l -s $(SOURCE_DIRS) ./ | tee /dev/stderr) || (echo "[WARN] Fix formatting issues with 'make gofmt'" && exit 1) + @test -z $(shell gofmt -l -s $(SOURCE_DIRS) ./ | grep -v vendor | tee /dev/stderr) || (echo "[WARN] Fix formatting issues with 'make gofmt'" && exit 1) .PHONY: test test: