Skip to content

Commit cb11ac1

Browse files
collect-changes: Use sorted map for changes
This ensures the output order is consistent between runs, which makes it easier to verify code changes are acting as intended.
1 parent f0225a6 commit cb11ac1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collect-changes/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async fn main() -> eyre::Result<()> {
3434
.await?;
3535
let all_repos = gh.all_pages(repo_page).await?;
3636

37-
let mut changes: HashMap<_, Vec<_>> = HashMap::new();
37+
let mut changes: BTreeMap<_, Vec<_>> = BTreeMap::new();
3838
let mut repos = HashMap::new();
3939
for repo in all_repos {
4040
let mut pulls = gh

0 commit comments

Comments
 (0)