Update .github/workflows/ci.yml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Doezer
2025-11-13 23:04:06 +01:00
committed by GitHub
co-authored by Copilot
parent aeeacfc84b
commit fd64f26c5e
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
- name: Verify formatting
run: |
# Find all Dart files excluding generated files
FILES=$(find lib test -name "*.dart" ! -name "*.g.dart" ! -name "*.freezed.dart" -type f 2>/dev/null || true)
FILES=$(find lib $([ -d test ] && echo test) -name "*.dart" ! -name "*.g.dart" ! -name "*.freezed.dart" -type f 2>/dev/null || true)
if [ -z "$FILES" ]; then
echo "No Dart files found to format"
exit 0