mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-19 08:52:15 +01:00
Fixed error in cmd-line lib installer
This commit is contained in:
parent
fee5848a02
commit
8d27171b74
@ -359,7 +359,7 @@ public class Base {
|
||||
}
|
||||
|
||||
Optional<ContributedLibrary> mayInstalled = indexer.getIndex().getInstalled(libraryToInstallParts[0]);
|
||||
if (mayInstalled.isPresent() && mayInstalled.get().isIDEBuiltIn()) {
|
||||
if (mayInstalled.isPresent() && selected.isIDEBuiltIn()) {
|
||||
libraryInstaller.remove(mayInstalled.get(), progressListener);
|
||||
} else {
|
||||
libraryInstaller.install(selected, mayInstalled, progressListener);
|
||||
|
Loading…
x
Reference in New Issue
Block a user