Skip to content

Commit 2991e9f

Browse files
committed
Change method to request latest release
1 parent ca4c678 commit 2991e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cli/updater/updater.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func getLatestRelease() string {
117117
// We just use this URL to check if there's a new release available and
118118
// never show it to the user, so it's fine to use the Linux one for all OSs.
119119
URL := "https://downloads.arduino.cc/arduino-cli/arduino-cli_latest_Linux_64bit.tar.gz"
120-
res, err := client.Get(URL)
120+
res, err := client.Head(URL)
121121
if err != nil {
122122
// Yes, we ignore it
123123
return ""

0 commit comments

Comments
 (0)