mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
test: ignore vendor directory in govet test
Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
parent
628bd294e1
commit
b6ea32ee0f
2
test
2
test
@ -448,7 +448,7 @@ function gofmt_pass {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function govet_pass {
|
function govet_pass {
|
||||||
vetRes=$(go vet "${TEST[@]}")
|
vetRes=$(go vet -mod=mod "${TEST[@]}")
|
||||||
if [ -n "${vetRes}" ]; then
|
if [ -n "${vetRes}" ]; then
|
||||||
echo -e "govet checking failed:\\n${vetRes}"
|
echo -e "govet checking failed:\\n${vetRes}"
|
||||||
exit 255
|
exit 255
|
||||||
|
Loading…
x
Reference in New Issue
Block a user