Skip to content

Commit

Permalink
Fix the format script so that it works with deleted files. (flutter#2…
Browse files Browse the repository at this point in the history
…0679)

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
  • Loading branch information
gspencergoog committed Aug 21, 2020
1 parent b603506 commit ea971c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ci/bin/format.dart
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ abstract class FormatChecker {
'diff',
'-U0',
'--no-color',
'--diff-filter=d',
'--name-only',
baseGitRef,
'--',
Expand Down

0 comments on commit ea971c5

Please sign in to comment.