diff options
author | Lars Wirzenius <liw@liw.fi> | 2024-01-22 10:05:57 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2024-01-22 10:05:57 +0200 |
commit | 1c1ae27e36d6a31886fd40871fe82f5156d8d895 (patch) | |
tree | cc5ee06423a0bf83f89b0788f6197787358a8221 | |
parent | 370f70fb24ee76834fd1af748819848b93088c53 (diff) | |
download | radicle-native-ci-1c1ae27e36d6a31886fd40871fe82f5156d8d895.tar.gz |
fix: use sorted runs
Signed-off-by: Lars Wirzenius <liw@liw.fi>
-rw-r--r-- | src/report.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/report.rs b/src/report.rs index 506dc41..6537365 100644 --- a/src/report.rs +++ b/src/report.rs @@ -74,7 +74,7 @@ fn list_runs(repos: &[&str], run_infos: &[RunInfo]) -> Document { let mut runs = runs_for_repo(repo, run_infos); runs.sort_by(|a, b| b.timestamp.cmp(&a.timestamp)); runs.reverse(); - for ri in runs_for_repo(repo, run_infos) { + for ri in runs { let commit = Element::new(Tag::Code) .with_class("commit") .with_text(&ri.commit); |