Skip to content

Commit f6468c6

Browse files
cmaglieRoberto Sora
and
Roberto Sora
committed
Fixed typo in downloader.go
Co-Authored-By: Roberto Sora <r.sora@arduino.cc>
1 parent 0dd5452 commit f6468c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

downloader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ func DownloadWithConfig(file string, reqURL string, config Config, options ...Do
162162
if config.ProxyURL != "" {
163163
proxy, err := url.Parse(config.ProxyURL)
164164
if err != nil {
165-
return nil, fmt.Errorf("inalid proxy %s: %s", config.ProxyURL, err)
165+
return nil, fmt.Errorf("invalid proxy %s: %s", config.ProxyURL, err)
166166
}
167167
client.Transport = &http.Transport{
168168
Proxy: http.ProxyURL(proxy),

0 commit comments

Comments
 (0)