1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-21 18:47:27 +08:00

Exclude empty lines

This commit is contained in:
smoogipoo 2021-10-13 17:56:33 +09:00
parent 5e934cdd2b
commit e12249f127

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