Skip to content

Commit ea971c5

Browse files
authored
Fix the format script so that it works with deleted files. (flutter#20679)
When I rewrote the format script, I forgot to filter out deleted files from the list of files that it looks at. This filters the file list to exclude deleted files
1 parent b603506 commit ea971c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/bin/format.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ abstract class FormatChecker {
258258
'diff',
259259
'-U0',
260260
'--no-color',
261+
'--diff-filter=d',
261262
'--name-only',
262263
baseGitRef,
263264
'--',

0 commit comments

Comments
 (0)