Skip to content

Commit 074965d

Browse files
use feedback.Fatal otherwise it won't flush the stdout as json format
1 parent a6411ed commit 074965d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: internal/cli/core/upgrade.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ func Upgrade(inst *rpc.Instance, args []string, skipPostInstall bool) {
110110
warningMissingIndex(response)
111111
if err != nil {
112112
if _, ok := err.(*arduino.PlatformAlreadyAtTheLatestVersionError); ok {
113-
feedback.Print(err.Error())
113+
feedback.Fatal(err.Error(), feedback.Success)
114114
continue
115115
}
116116

0 commit comments

Comments
 (0)