Skip to content

Commit 47bddd7

Browse files
authored
vet: run golint on _string files (grpc#1749)
We didn't run this because codes_string.go was generated by stringer. And we no longer use stringer.
1 parent 45088c2 commit 47bddd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
git ls-files "*.go" | xargs grep -L "\(Copyright [0-9]\{4,\} gRPC authors\)\|DO NOT EDIT" 2>&1 | tee /dev/stderr | (! read)
5252
gofmt -s -d -l . 2>&1 | tee /dev/stderr | (! read)
5353
goimports -l . 2>&1 | tee /dev/stderr | (! read)
54-
golint ./... 2>&1 | (grep -vE "(_mock|_string|\.pb)\.go:" || true) | tee /dev/stderr | (! read)
54+
golint ./... 2>&1 | (grep -vE "(_mock|\.pb)\.go:" || true) | tee /dev/stderr | (! read)
5555

5656
# Undo any edits made by this script.
5757
cleanup() {

0 commit comments

Comments
 (0)