Fix go vet on go 1.7

This commit is contained in:
Nick Craig-Wood 2017-02-12 12:43:13 +00:00
parent ca0e25b1a1
commit 186aedda98

View file

@ -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