lint: error shadowing and missed return

This commit is contained in:
Eugene
2017-12-20 15:54:02 -06:00
parent 289a2cf91c
commit 04d441b8d6
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ RUN cd app && go test -v $(go list -e ./... | grep -v vendor)
RUN gometalinter --disable-all --deadline=300s --vendor --enable=vet --enable=vetshadow --enable=golint \
--enable=staticcheck --enable=ineffassign --enable=goconst --enable=errcheck --enable=unconvert \
--enable=deadcode --enable=gosimple --enable=gas -tests ./...
--enable=deadcode --enable=gosimple --enable=gas --exclude=test ./...
RUN /script/checkvendor.sh
RUN mkdir -p target && /script/coverage.sh