You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: lib/src/analyzers/unused_files_analyzer/reporters/reporters_list/console/unused_files_console_reporter.dart
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -32,17 +32,19 @@ class UnusedFilesConsoleReporter
32
32
);
33
33
}
34
34
35
+
final filesCount =alarmPen(sortedRecords.length);
36
+
35
37
if (additionalParams?.deleteUnusedFiles ??false) {
36
38
output
37
39
..writeln('')
38
40
..writeln(
39
-
'${okPen('✔')} ${alarmPen(sortedRecords.length)} files were successfully deleted',
41
+
'${okPen('✔')} $filesCount files were successfully deleted',
40
42
);
41
43
} else {
42
44
output
43
45
..writeln('')
44
46
..writeln(
45
-
'${alarmPen('✖')} total unused files - ${alarmPen(sortedRecords.length)}$removeFilesSuffix',
47
+
'${alarmPen('✖')} total unused files - $filesCount',
0 commit comments