mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
Makes vet check more sure fire now that it's xargs-ed.
This commit is contained in:
parent
0c8b66ddca
commit
6643c94b11
@ -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…
x
Reference in New Issue
Block a user