Skip to content

Commit f20308b

Browse files
committed
chore: fix dart format issue
1 parent c7ade7f commit f20308b

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/actions/flutter_build/action.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@ runs:
9191

9292
- name: Check Dart formatting
9393
working-directory: frontend/appflowy_flutter
94-
run: dart format --output=none --set-exit-if-changed .
94+
run: |
95+
dart format --output=none --set-exit-if-changed .
96+
EXIT_CODE=$?
97+
echo "Exit code: $EXIT_CODE"
98+
if [ $EXIT_CODE -eq 1 ]; then
99+
echo "Error: Dart formatting check failed. Please run 'dart format .' to fix formatting issues."
100+
exit 1
101+
fi
95102
shell: bash
96103

97104
- name: Flutter Analyzer

0 commit comments

Comments
 (0)