Skip to content

Commit df342c8

Browse files
authored
fix: panic on command print (#2)
1 parent 2122fa8 commit df342c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/arduino-app-cli/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ func run(configuration cfg.Configuration) error {
5555
if !ok {
5656
feedback.Fatal(i18n.Tr("Invalid output format: %s", format), feedback.ErrBadArgument)
5757
}
58+
feedback.SetFormat(format)
59+
5860
logLevel, err := ParseLogLevel(logLevelStr)
5961
if err != nil {
6062
feedback.FatalError(err, feedback.ErrBadArgument)

0 commit comments

Comments
 (0)