Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 074965d

Browse files
committedJun 13, 2023
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
 

‎internal/cli/core/upgrade.go

Lines changed: 1 addition & 1 deletion
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)
Please sign in to comment.