Skip to content

Commit

Permalink
misc: fix wrong merge
Browse files Browse the repository at this point in the history
  • Loading branch information
nichmor committed Nov 6, 2024
1 parent 5946fc8 commit efde772
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/cli/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,9 @@ where
latest_packages.extend(records_of_repo.into_values().collect_vec());
}

// sort all versions across all channels and platforms
latest_packages.sort_by(|a, b| a.package_record.version.cmp(&b.package_record.version));

Ok(latest_packages)
}

Expand Down

0 comments on commit efde772

Please sign in to comment.