From f60dd18c0afd7132a459a18cccbab8f6a32ea2de Mon Sep 17 00:00:00 2001 From: Sebastian Kuzminsky Date: Sun, 20 Jul 2025 22:22:41 -0600 Subject: [PATCH] sort dependencies alphabetically after reading them This is mostly to make the tests reliable. Without this the dependencies are inserted into the vector in directory order, which in my checkout of the repo did not match the alphabetical order of the dependencies in the test. --- src/issue.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/issue.rs b/src/issue.rs index 5022ace..aafb4e2 100644 --- a/src/issue.rs +++ b/src/issue.rs @@ -212,6 +212,9 @@ impl Issue { } } } + if let Some(deps) = &mut dependencies { + deps.sort(); + } Ok(dependencies) } -- 2.47.3