Skip to content

Commit 1382e2c

Browse files
committed
🔧 Output git diff
1 parent 75e6d58 commit 1382e2c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎melos.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ scripts:
3333
description: flutter analyze
3434

3535
format:
36-
run: dart format --set-exit-if-changed .
37-
description: dart format --set-exit-if-changed .
36+
run: |
37+
dart format --set-exit-if-changed .
38+
git --no-pager diff --exit-code
39+
description: Format Dart files and exit if unstaged changes exist
3840

3941
build:
4042
exec: flutter build apk

0 commit comments

Comments
 (0)