Skip to content

Commit 8d27171

Browse files
committed
Fixed error in cmd-line lib installer
1 parent fee5848 commit 8d27171

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/Base.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public Base(String[] args) throws Exception {
359359
}
360360

361361
Optional<ContributedLibrary> mayInstalled = indexer.getIndex().getInstalled(libraryToInstallParts[0]);
362-
if (mayInstalled.isPresent() && mayInstalled.get().isIDEBuiltIn()) {
362+
if (mayInstalled.isPresent() && selected.isIDEBuiltIn()) {
363363
libraryInstaller.remove(mayInstalled.get(), progressListener);
364364
} else {
365365
libraryInstaller.install(selected, mayInstalled, progressListener);

0 commit comments

Comments
 (0)