From 186aedda982c9c4f61f021a280b206b645bf1f9c Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 12 Feb 2017 12:43:13 +0000 Subject: [PATCH] Fix go vet on go 1.7 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f5395fe73..073ac5504 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ quicktest: # Do source code quality checks check: rclone ifdef GO_LATEST - go tool vet -printfuncs Debugf,Infof,Logf,Errorf . 2>&1 | grep -E -v ^vendor/ ; test $$? -eq 1 + go tool vet -printfuncs Debugf,Infof,Logf,Errorf . 2>&1 | grep -E -v vendor/ ; test $$? -eq 1 errcheck $(GO_FILES) find . -name \*.go | grep -v /vendor/ | xargs goimports -d | grep . ; test $$? -eq 1 go list ./... | grep -v /vendor/ | xargs -i golint {} | grep -E -v '(StorageUrl|CdnUrl)' ; test $$? -eq 1