Skip to content

Commit a5d95ea

Browse files
committed
Fix lint.
1 parent bf435c6 commit a5d95ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/arduino-app-cli/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func versionHandler(httpClient http.Client, clientVersion string, hostAndPort st
8888

8989
func validateHost(hostPort string) (string, error) {
9090
if !strings.Contains(hostPort, ":") {
91-
hostPort = hostPort + ":"
91+
hostPort += ":"
9292
}
9393

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

0 commit comments

Comments
 (0)