mirror of
https://github.com/ppy/osu.git
synced 2025-01-06 09:03:01 +08:00
Exclude empty lines
This commit is contained in:
parent
5e934cdd2b
commit
e12249f127
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -81,8 +81,10 @@ jobs:
|
|||||||
# FIXME: Suppress warnings from templates project
|
# FIXME: Suppress warnings from templates project
|
||||||
exit_code=0
|
exit_code=0
|
||||||
while read -r line; do
|
while read -r line; do
|
||||||
|
if [[ ! -z "$line" ]]; then
|
||||||
echo "::error::$line"
|
echo "::error::$line"
|
||||||
exit_code=1
|
exit_code=1
|
||||||
|
fi
|
||||||
done <<< $(dotnet codefilesanity)
|
done <<< $(dotnet codefilesanity)
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user