mirror of https://github.com/astral-sh/ruff
Sort discovered workspace packages for consistent cross-platform package discovery (#14725)
This commit is contained in:
parent
5a67d3269b
commit
30d80d9746
|
|
@ -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…
Reference in New Issue