File tree Expand file tree Collapse file tree 2 files changed +1
-51
lines changed
arduino-core/src/cc/arduino/contributions/libraries Expand file tree Collapse file tree 2 files changed +1
-51
lines changed Original file line number Diff line number Diff line change 3030package cc .arduino .contributions .libraries ;
3131
3232import cc .arduino .Constants ;
33- import cc .arduino .contributions .libraries .filters .TypePredicate ;
3433import cc .arduino .contributions .packages .ContributedPlatform ;
3534import com .fasterxml .jackson .databind .DeserializationFeature ;
3635import com .fasterxml .jackson .databind .ObjectMapper ;
@@ -130,7 +129,7 @@ public void rescanLibraries() {
130129 }
131130
132131 installedLibraries .stream () //
133- .filter (new TypePredicate ("Contributed" )) //
132+ .filter (l -> l . getTypes (). contains ("Contributed" )) //
134133 .filter (l -> l .getLocation () == Location .CORE || l .getLocation () == Location .REFERENCED_CORE ) //
135134 .forEach (l -> {
136135 ContributedPlatform platform = BaseNoGui .indexer .getPlatformByFolder (l .getInstalledFolder ());
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments