Fix incorrect composites check setting

remotes/origin/er-vet
Edd Robinson 2016-05-18 14:02:48 +01:00
parent f680ab0f0d
commit a27d0d3837
1 changed files with 1 additions and 2 deletions

View File

@ -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