From b44e87c6e8a3e2d4d65150e3ac3909e7162a6c8e Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Wed, 25 Mar 2015 23:15:52 +0100 Subject: [PATCH] Silence go vet composites warning https://code.google.com/p/go/issues/detail?id=6820 --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 85d45d182..226ea5fa0 100755 --- a/build.sh +++ b/build.sh @@ -118,7 +118,7 @@ case "${1:-default}" in -e "STTRACE=$STTRACE" \ syncthing/build:latest \ sh -c './build.sh clean \ - && go vet ./cmd/... ./internal/... \ + && go tool vet -composites=false cmd/*/*.go internal/*/*.go \ && ( golint ./cmd/... ; golint ./internal/... ) | egrep -v "comment on exported|should have comment" \ && ./build.sh all \ && STTRACE=all ./build.sh test-cov'