Skip to content

Commit 29a623a

Browse files
committed
Compile recap is hidden also on a successful compile with default verbosity
1 parent 0c2d093 commit 29a623a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/cli/compile/compile.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,7 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer
362362
}
363363

364364
stdIO := stdIORes()
365+
successful := (compileError == nil)
365366
res := &compileResult{
366367
CompilerOut: stdIO.Stdout,
367368
CompilerErr: stdIO.Stderr,
@@ -370,9 +371,9 @@ func runCompileCommand(cmd *cobra.Command, args []string, srv rpc.ArduinoCoreSer
370371
UpdatedUploadPort: result.NewPort(uploadRes.GetUpdatedUploadPort()),
371372
},
372373
ProfileOut: profileOut,
373-
Success: compileError == nil,
374+
Success: successful,
374375
showPropertiesMode: showProperties,
375-
hideStats: preprocess || quiet,
376+
hideStats: preprocess || quiet || (!verbose && successful),
376377
}
377378

378379
if compileError != nil {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy