fix(Makefile): fix gofmt too many args error

pull/291/head
Adam Reese 9 years ago
parent 4134afee10
commit bddebc9428

@ -49,7 +49,7 @@ test-unit:
.PHONY: .test-style
test-style: lint vet
@if [ $(shell gofmt -e -l -s $(GO_DIRS)) ]; then \
@if [ $(shell gofmt -e -l -s $(GO_DIRS) | wc -l) ]; then \
echo "gofmt check failed:"; gofmt -e -d -s $(GO_DIRS); exit 1; \
fi

Loading…
Cancel
Save