diff --git a/Makefile b/Makefile index f8299e8..8db1c7a 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ ifdef TRAVIS endif check-fmt: - bash -c "diff --line-format='%L' <(echo -n) <(gofmt -d -s .)" + bash -c 'diff --line-format="%L" <(echo -n) <(gofmt -d -s $$(find . -type f -name "*.go" -not -path "./vendor/*"))' lint: check-fmt vet megacheck