Skip to content
Prev Previous commit
Next Next commit
Fix lint.
  • Loading branch information
martacarbone committed Nov 10, 2025
commit a5d95eaf634b7d2356b858c36de1f4ca19d0388c
2 changes: 1 addition & 1 deletion cmd/arduino-app-cli/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func versionHandler(httpClient http.Client, clientVersion string, hostAndPort st

func validateHost(hostPort string) (string, error) {
if !strings.Contains(hostPort, ":") {
hostPort = hostPort + ":"
hostPort += ":"
}

h, p, err := net.SplitHostPort(hostPort)
Expand Down