Exclude job COBs without runs from list_jobs

This commit is contained in:
Rūdolfs Ošiņš
2026-05-21 15:56:53 +02:00
parent 0c40670e2b
commit c651ef7779
+1
View File
@@ -18,6 +18,7 @@ pub trait Jobs: Profile {
Ok(found_jobs?
.into_iter()
.filter(|(_, job)| !job.runs().is_empty())
.map(|(id, job)| job::Job::new(id, &job, aliases))
.collect())
}