mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-02 14:51:25 +00:00
Sort discovered workspace packages for consistent cross-platform package discovery (#14725)
This commit is contained in:
parent
5a67d3269b
commit
30d80d9746
1 changed files with 2 additions and 0 deletions
|
@ -349,6 +349,8 @@ fn collect_packages(
|
|||
packages.push(package);
|
||||
}
|
||||
|
||||
packages.sort_unstable_by(|a, b| a.root().cmp(b.root()));
|
||||
|
||||
Ok(CollectedPackagesOrStandalone::Packages(packages))
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue