We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1558e7b commit 0e85a63Copy full SHA for 0e85a63
arduino/cores/packagemanager/download.go
@@ -127,12 +127,7 @@ func (pme *Explorer) DownloadToolRelease(tool *cores.ToolRelease, config *downlo
127
Message: tr("Error downloading tool %s", tool),
128
Cause: errors.New(tr("no versions available for the current OS"))}
129
}
130
- if err := resource.Download(pme.DownloadDir, config, tool.String(), progressCB); err != nil {
131
- return &arduino.FailedDownloadError{
132
- Message: tr("Error downloading tool %s", tool),
133
- Cause: err}
134
- }
135
- return nil
+ return resource.Download(pme.DownloadDir, config, tool.String(), progressCB)
136
137
138
// DownloadPlatformRelease downloads a PlatformRelease. If the platform is already downloaded a
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments