Skip to content

Commit 689ae5b

Browse files
committed
change lint rule in all avoided packages to not grep
1 parent e7192b1 commit 689ae5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/vet.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ not git grep "\(import \|^\s*\)\"google.golang.org/grpc/interop/grpc_testing" --
7070
git grep '"github.com/envoyproxy/go-control-plane/envoy' -- '*.go' ':(exclude)*.pb.go' | not grep -v 'pb "\|grpc "'
7171

7272
# - Ensure all context usages are done with timeout.
73-
git grep -e 'context.Background()' --or -e 'context.TODO()' -- "*_test.go" | grep -v "benchmark/primitives/context_test.go" | grep -v "credentials/google" | grep -v "internal/transport/" | grep -v "xds/internal/" | grep -v "security/advancedtls" | not grep -v 'context.WithTimeout(' | not grep -v 'context.WithCancel('
73+
git grep -e 'context.Background()' --or -e 'context.TODO()' -- "*_test.go" | not grep -v "benchmark/primitives/context_test.go" | not grep -v "credentials/google" | not grep -v "internal/transport/" | not grep -v "xds/internal/" | not grep -v "security/advancedtls" | not grep -v 'context.WithTimeout(' | not grep -v 'context.WithCancel('
7474

7575

7676
misspell -error .

0 commit comments

Comments
 (0)