File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
arduino-core/src/cc/arduino/contributions/libraries Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -93,12 +93,6 @@ public synchronized void updateIndex(ProgressListener progressListener) throws E
93
93
if (libraryIndexTemp .length () > 0 ) {
94
94
Files .move (libraryIndexTemp .toPath (), outputFile .toPath (), StandardCopyOption .REPLACE_EXISTING );
95
95
}
96
-
97
- // Step 2: Parse index
98
- BaseNoGui .librariesIndexer .parseIndex ();
99
-
100
- // Step 3: Rescan index
101
- rescanLibraryIndex (progress , progressListener );
102
96
} else {
103
97
FileDownloader .invalidateFiles (libraryGzURL , libraryURL , signatureUrl );
104
98
log .error ("Fail to verify the signature of {} the cached files have been removed" , libraryURL );
@@ -107,6 +101,12 @@ public synchronized void updateIndex(ProgressListener progressListener) throws E
107
101
log .info ("The domain is not selected to verify the signature. library index: {}" , signatureUrl );
108
102
}
109
103
104
+ // Step 2: Parse index
105
+ BaseNoGui .librariesIndexer .parseIndex ();
106
+
107
+ // Step 3: Rescan index
108
+ rescanLibraryIndex (progress , progressListener );
109
+
110
110
}
111
111
112
112
public synchronized void install (ContributedLibrary lib , Optional <ContributedLibrary > mayReplacedLib , ProgressListener progressListener ) throws Exception {
You can’t perform that action at this time.
0 commit comments