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 bf435c6 commit a5d95eaCopy full SHA for a5d95ea
cmd/arduino-app-cli/version/version.go
@@ -88,7 +88,7 @@ func versionHandler(httpClient http.Client, clientVersion string, hostAndPort st
88
89
func validateHost(hostPort string) (string, error) {
90
if !strings.Contains(hostPort, ":") {
91
- hostPort = hostPort + ":"
+ hostPort += ":"
92
}
93
94
h, p, err := net.SplitHostPort(hostPort)
0 commit comments