Fix incorrect composites check setting
parent
f680ab0f0d
commit
a27d0d3837
|
@ -6,8 +6,7 @@ if [ $fmtcount -gt 0 ]; then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Due to the way composites work, vet will fail for some of our tests so we ignore it
|
||||
vetcount=`go tool vet -composites=true ./ 2>&1 | wc -l`
|
||||
vetcount=`go tool vet ./ 2>&1 | wc -l`
|
||||
if [ $vetcount -gt 0 ]; then
|
||||
echo "Some files aren't passing vet heuristics, please run 'go vet ./...' to see the errors it flags and correct your source code before committing"
|
||||
exit 1
|
||||
|
|
Loading…
Reference in New Issue