We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c40b060 commit bce1684Copy full SHA for bce1684
internal/arduino/cores/packagemanager/package_manager.go
@@ -633,6 +633,12 @@ func (pme *Explorer) GetInstalledPlatformRelease(platform *cores.Platform) *core
633
for _, candidate := range releases[1:] {
634
candidateIsManaged := pme.IsManagedPlatformRelease(candidate)
635
debug("candidate", candidate)
636
+ if !candidateIsManaged && !bestIsManaged {
637
+ if candidate.Version.GreaterThan(best.Version) {
638
+ best = candidate
639
+ }
640
+ continue
641
642
if !candidateIsManaged {
643
continue
644
}
0 commit comments