git » kxd » commit c7e2e63

Fix "make vet" to invoke "go vet" correctly

author Alberto Bertogli
2019-08-31 16:22:25 UTC
committer Alberto Bertogli
2019-08-31 16:28:15 UTC
parent ef41b83d9f3a5a85a761a748d1034ae3a6ee4389

Fix "make vet" to invoke "go vet" correctly

The "make vet" target is invoking "go vet" in an obsolete way. This
patch updates the target to call the tool correctly.

Makefile +1 -1

diff --git a/Makefile b/Makefile
index 6f429b8..882f635 100644
--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ fmt:
 	gofmt -w .
 
 vet:
-	$(GO) tool vet .
+	$(GO) vet ./...
 
 test: kxd kxc
 	tests/run_tests -b