fix: hide commentless reviews from CLI listings

This commit is contained in:
2026-10-25 20:47:59 +01:00
parent 448c3bf477
commit 846803a3e2
4 changed files with 49 additions and 9 deletions
+5 -1
View File
@@ -167,7 +167,11 @@ pub fn run(request: &Request, config: Option<&Path>) -> Result<(), String> {
vec![review]
} else {
match store {
Some(store) => store.list(&root)?,
Some(store) => store
.list(&root)?
.into_iter()
.filter(|review| !review.comments.is_empty())
.collect(),
None => Vec::new(),
}
};