From 06233310cc312165d1a5e8c1a7bb4cb51c7f402b Mon Sep 17 00:00:00 2001 From: Menghan Li Date: Fri, 6 Oct 2017 13:17:06 -0700 Subject: [PATCH] Revert "Temporary disable staticcheck" (#1568) --- vet.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vet.sh b/vet.sh index 9ef48378..72ef3290 100755 --- a/vet.sh +++ b/vet.sh @@ -27,6 +27,7 @@ if [ "$1" = "-install" ]; then go get -u \ github.com/golang/lint/golint \ golang.org/x/tools/cmd/goimports \ + honnef.co/go/tools/cmd/staticcheck \ github.com/golang/protobuf/protoc-gen-go \ golang.org/x/tools/cmd/stringer if [[ "$check_proto" = "true" ]]; then @@ -74,4 +75,4 @@ if [[ "$check_proto" = "true" ]]; then fi # TODO(menghanl): fix errors in transport_test. -# staticcheck -ignore google.golang.org/grpc/transport/transport_test.go:SA2002 ./... +staticcheck -ignore google.golang.org/grpc/transport/transport_test.go:SA2002 ./...