Skip to content

Commit

Permalink
better name
Browse files Browse the repository at this point in the history
  • Loading branch information
goderbauer committed Dec 13, 2024
1 parent bf08429 commit 56ec4d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/bin/format.dart
Original file line number Diff line number Diff line change
Expand Up @@ -891,13 +891,13 @@ class DartFormatChecker extends FormatChecker {
});
} else {
final List<WorkerJob> completedJobs = await dartFmt.runToCompletion(jobs);
final List<WorkerJob> incorrectList = incorrect = [];
final List<WorkerJob> incorrectJobs = incorrect = [];
for (final WorkerJob job in completedJobs) {
if ((job.result.exitCode == 1 && job.result.stderr.isNotEmpty) || job.result.exitCode > 1) {
// The formatter had a problem formatting the file.
errorJobs.add(job);
} else if (job.result.exitCode == 1) {
incorrectList.add(job);
incorrectJobs.add(job);
}
}
}
Expand Down

0 comments on commit 56ec4d8

Please sign in to comment.