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.
This commit is contained in:
Sebastian Kuzminsky 2025-07-20 22:22:41 -06:00
parent 5c1d3b1cd5
commit f60dd18c0a

View file

@ -212,6 +212,9 @@ impl Issue {
}
}
}
if let Some(deps) = &mut dependencies {
deps.sort();
}
Ok(dependencies)
}