mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
Merge pull request #2158 from cbednarski/f-vet-fail
Fail the build when go vet returns non-zero exit code
This commit is contained in:
commit
6fca917ed2
1 changed files with 1 additions and 0 deletions
1
Makefile
1
Makefile
|
|
@ -41,6 +41,7 @@ vet:
|
|||
echo ""; \
|
||||
echo "Vet found suspicious constructs. Please check the reported constructs"; \
|
||||
echo "and fix them if necessary before submitting the code for reviewal."; \
|
||||
exit 1; \
|
||||
fi
|
||||
|
||||
.PHONY: bin default generate test testacc updatedeps vet
|
||||
|
|
|
|||
Loading…
Reference in a new issue