Makes vet check more sure fire now that it's xargs-ed.
This commit is contained in:
parent
3ebd78013c
commit
d1925a3fe1
|
@ -48,7 +48,7 @@ vet:
|
|||
| cut -d '/' -f 4- \
|
||||
| xargs -n1 \
|
||||
go tool vet $(VETARGS) ;\
|
||||
if [ $$? -eq 1 ]; then \
|
||||
if [ $$? -ne 0 ]; then \
|
||||
echo ""; \
|
||||
echo "Vet found suspicious constructs. Please check the reported constructs"; \
|
||||
echo "and fix them if necessary before submitting the code for reviewal."; \
|
||||
|
|
Loading…
Reference in New Issue