use go vet instead of go tool vet

https://golang.org/doc/go1.12#vet
This commit is contained in:
Adrien Delorme 2019-02-27 10:21:10 +01:00
parent c4b28d6ddc
commit e9990e8876

View File

@ -116,7 +116,7 @@ updatedeps:
@echo "INFO: Packer deps are managed by govendor. See .github/CONTRIBUTING.md"
vet: ## Vet Go code
@go tool vet $(VET) ; if [ $$? -eq 1 ]; then \
@go vet $(VET) ; if [ $$? -eq 1 ]; then \
echo "ERROR: Vet found problems in the code."; \
exit 1; \
fi