Exclude empty lines

This commit is contained in:
smoogipoo 2021-10-13 17:56:33 +09:00
parent 5e934cdd2b
commit e12249f127
1 changed files with 2 additions and 0 deletions

View File

@ -81,8 +81,10 @@ jobs:
# FIXME: Suppress warnings from templates project
exit_code=0
while read -r line; do
if [[ ! -z "$line" ]]; then
echo "::error::$line"
exit_code=1
fi
done <<< $(dotnet codefilesanity)
exit $exit_code