mirror of https://github.com/ppy/osu
Exclude empty lines
This commit is contained in:
parent
5e934cdd2b
commit
e12249f127
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue