Do not count packages excluded by constraint as warning

This commit is contained in:
Daniel 2019-08-20 21:41:52 +02:00
parent b8c8abf793
commit e4889b0d77

3
test
View file

@ -34,8 +34,7 @@ function run {
fi
else
if [[ $output == *"build constraints exclude all Go files"* ]]; then
echo -e "${goUp}[ !OS ] $*"
warnings=$((warnings+1))
echo -e "${goUp}[ !=OS ] $*"
else
echo -e "${goUp}[\e[01;31m FAIL \e[00m] $*" >/dev/stderr
cat $tmpfile >/dev/stderr