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 ca4c678 commit 2991e9fCopy full SHA for 2991e9f
cli/updater/updater.go
@@ -117,7 +117,7 @@ func getLatestRelease() string {
117
// We just use this URL to check if there's a new release available and
118
// never show it to the user, so it's fine to use the Linux one for all OSs.
119
URL := "https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz"
120
- res, err := client.Get(URL)
+ res, err := client.Head(URL)
121
if err != nil {
122
// Yes, we ignore it
123
return ""
0 commit comments