We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7ade7f commit f20308bCopy full SHA for f20308b
1 file changed
.github/actions/flutter_build/action.yml
@@ -91,7 +91,14 @@ runs:
91
92
- name: Check Dart formatting
93
working-directory: frontend/appflowy_flutter
94
- run: dart format --output=none --set-exit-if-changed .
+ 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
102
shell: bash
103
104
- name: Flutter Analyzer
0 commit comments