Skip to content

Commit

Permalink
Compile recap is hidden also on a successful compile with default ver…
Browse files Browse the repository at this point in the history
…bosity
  • Loading branch information
cmaglie committed Jan 22, 2025
1 parent 0c2d093 commit 29a623a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/cli/compile/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer
}

stdIO := stdIORes()
successful := (compileError == nil)
res := &compileResult{
CompilerOut: stdIO.Stdout,
CompilerErr: stdIO.Stderr,
Expand All @@ -370,9 +371,9 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer
UpdatedUploadPort: result.NewPort(uploadRes.GetUpdatedUploadPort()),
},
ProfileOut: profileOut,
Success: compileError == nil,
Success: successful,
showPropertiesMode: showProperties,
hideStats: preprocess || quiet,
hideStats: preprocess || quiet || (!verbose && successful),
}

if compileError != nil {
Expand Down

0 comments on commit 29a623a

Please sign in to comment.