Skip to content

Commit ee6cfac

Browse files
a7medevHeshamMegid
authored andcommitted
[MOB-12372] Migrate Flutter Formatting to Dart (#362)
1 parent 40f3ca3 commit ee6cfac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
- run: flutter pub get
186186
- run:
187187
name: Check Format
188-
command: flutter format . --set-exit-if-changed
188+
command: dart format . --set-exit-if-changed
189189

190190
lint_flutter:
191191
docker:

scripts/pigeon.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ generate_pigeon() {
2626

2727
# Generated files are not formatted by default,
2828
# this affects pacakge score.
29-
flutter format "$DIR_DART/$name_snake.api.g.dart"
29+
dart format "$DIR_DART/$name_snake.api.g.dart"
3030
}
3131

3232
for file in pigeons/**

0 commit comments

Comments
 (0)