mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
parent
3dfe85916c
commit
6ed7934ee1
@ -73,11 +73,14 @@ public class LibrariesIndexer {
|
||||
}
|
||||
|
||||
public void parseIndex() throws IOException {
|
||||
index = new EmptyLibrariesIndex(); // Fallback
|
||||
|
||||
if (!indexFile.exists()) {
|
||||
index = new EmptyLibrariesIndex();
|
||||
} else {
|
||||
parseIndex(indexFile);
|
||||
return;
|
||||
}
|
||||
|
||||
parseIndex(indexFile);
|
||||
|
||||
// TODO: resolve libraries inner references
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user