We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5dc0340 commit f3be481Copy full SHA for f3be481
arduino/libraries/librariesmanager/download.go
@@ -28,6 +28,7 @@ var LibraryIndexURL, _ = url.Parse("https://downloads.arduino.cc/libraries/libra
28
29
// UpdateIndex downloads the libraries index file from Arduino repository.
30
func (lm *LibrariesManager) UpdateIndex() (*downloader.Downloader, error) {
31
+ lm.IndexFile.Parent().MkdirAll()
32
lm.IndexFile.Remove()
33
// TODO: Download from gzipped URL index
34
return downloader.Download(lm.IndexFile.String(), LibraryIndexURL.String())
0 commit comments