mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-07 01:54:26 +01:00
Fixed wrong check for LibraryLocation enum
This commit is contained in:
parent
f0d30575dd
commit
95ccb804d5
@ -167,7 +167,7 @@ public class LibrariesIndexer {
|
||||
|
||||
// Skip platform-related libraries that are not part of the currently
|
||||
// selected platform/board.
|
||||
if (l.getLocation().equals("platform")) {
|
||||
if (l.getLocation().equals(LibraryLocation.platform_builtin)) {
|
||||
File libDir = new File(l.getInstallDir());
|
||||
boolean isCoreLib = (coreLibsDir != null)
|
||||
&& FileUtils.isSubDirectory(coreLibsDir, libDir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user