mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-10-28 12:38:33 +00:00
ATL-428: Fixed the semver ordering for installable
Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
@@ -375,7 +375,7 @@ export class BoardsServiceImpl implements BoardsService, Disposable {
|
||||
const pkg = packages.get(id);
|
||||
if (pkg) {
|
||||
pkg.availableVersions.push(platform.getLatest());
|
||||
pkg.availableVersions.sort(Installable.Version.COMPARATOR);
|
||||
pkg.availableVersions.sort(Installable.Version.COMPARATOR).reverse();
|
||||
} else {
|
||||
packages.set(id, toPackage(platform));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user