mirror of https://github.com/tailscale/tailscale/
cmd/tailscale/cli: fix vet warning
And add vet to the "make check" target, like the CI has.crawshaw/e2etest
parent
24d1a38e81
commit
5e0375808b
@ -1,7 +1,10 @@
|
|||||||
usage:
|
usage:
|
||||||
echo "See Makefile"
|
echo "See Makefile"
|
||||||
|
|
||||||
check: staticcheck
|
vet:
|
||||||
|
go vet ./...
|
||||||
|
|
||||||
|
check: staticcheck vet
|
||||||
|
|
||||||
staticcheck:
|
staticcheck:
|
||||||
go run honnef.co/go/tools/cmd/staticcheck -- $$(go list ./... | grep -v tempfork)
|
go run honnef.co/go/tools/cmd/staticcheck -- $$(go list ./... | grep -v tempfork)
|
||||||
|
Loading…
Reference in New Issue