From 0ca867fdb2277e42719eb58e49d96942df06e9e6 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 15 Dec 2025 10:44:43 +0800 Subject: Revert lost items display in `jv status` to previous (b8ac698) style --- src/bin/jv.rs | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/src/bin/jv.rs b/src/bin/jv.rs index e336092..14e99a8 100644 --- a/src/bin/jv.rs +++ b/src/bin/jv.rs @@ -1785,18 +1785,14 @@ async fn jv_status(_args: StatusArgs) { let mut lost_items: Vec = analyzed .lost .iter() - .filter_map(|path| { - let path_str = path.display().to_string(); - if analyzed.erased.contains(path) { - return None; - } else { - return Some( - t!("jv.success.status.lost_item", path = path_str) - .trim() - .red() - .to_string(), - ); - } + .map(|path| { + t!( + "jv.success.status.lost_item", + path = path.display().to_string() + ) + .trim() + .red() + .to_string() }) .collect(); -- cgit