fix: no second file count on the checking screen

This commit is contained in:
Abdessamad Derraz committed 2026-10-24 04:03:46 +02:00
1 parent 6a3471378e
commit 46f00f0110
11 files changed
+25 -24

No files matched your search

+3 -2
View File
@@ -12201,8 +12201,9 @@ def _view_checking(state: TuiState, width: int, height: int) -> tuple:
if state.manifest is None:
lines.append(f"Getting the file list... {elapsed}")
else:
files = len(state.manifest.get("files", []))
lines += [f"File list: {_plural(files, 'file')}.", _reading_line(state, elapsed)]
# Not its count: the check counts the files it checks, which the
# plan then gives (8179 after "File list: 8169 files").
lines += ["File list received.", _reading_line(state, elapsed)]
return ("Checking", _compose(state, width, height, lines, []),
("Ctrl-C Quit", "B/Esc Back"))