We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f9ff25 commit 8fa6f11Copy full SHA for 8fa6f11
arduino-core/src/cc/arduino/contributions/libraries/LibrariesIndexer.java
@@ -73,11 +73,14 @@ public LibrariesIndexer(File preferencesFolder) {
73
}
74
75
public void parseIndex() throws IOException {
76
+ index = new EmptyLibrariesIndex(); // Fallback
77
+
78
if (!indexFile.exists()) {
- index = new EmptyLibrariesIndex();
- } else {
79
- parseIndex(indexFile);
+ return;
80
81
82
+ parseIndex(indexFile);
83
84
// TODO: resolve libraries inner references
85
86
0 commit comments