Don't run check_strings when empty.

This commit is contained in:
Dain Nilsson 2023-03-02 14:25:10 +01:00
parent 30b9900ca8
commit 0716dfb7f2
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8

View File

@ -17,7 +17,7 @@ jobs:
- name: Check remaining locales
run: |
find lib/l10n/ -name "app_en.arb" -prune -o -name "*.arb" -print0 | xargs -n 1 -0 ./check_strings.py >> $GITHUB_STEP_SUMMARY || echo "::warning::Problems in locales"
find lib/l10n/ -name "app_en.arb" -prune -o -name "*.arb" -print0 | xargs -r -n 1 -0 ./check_strings.py >> $GITHUB_STEP_SUMMARY || echo "::warning::Problems in locales"
- uses: subosito/flutter-action@v2
with: