Skip to content

Commit bc2861f

Browse files
Apply review suggestion
1 parent af54b4a commit bc2861f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/arduino-flasher-cli/daemon/daemon.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
package daemon
1717

1818
import (
19-
"encoding/json"
2019
"errors"
2120
"fmt"
2221
"net"
@@ -119,6 +118,5 @@ func (r daemonResult) Data() interface{} {
119118
}
120119

121120
func (r daemonResult) String() string {
122-
j, _ := json.Marshal(r)
123121
return fmt.Sprintln(i18n.Tr("Daemon is now listening on %s:%s", r.IP, r.Port))
124122
}

0 commit comments

Comments
 (0)