File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -356,6 +356,7 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
356
356
ProfileOut : profileOut ,
357
357
Success : compileError == nil ,
358
358
showPropertiesMode : showPropertiesM ,
359
+ hideStats : preprocess ,
359
360
}
360
361
361
362
if compileError != nil {
@@ -417,6 +418,7 @@ type compileResult struct {
417
418
Error string `json:"error,omitempty"`
418
419
419
420
showPropertiesMode showPropertiesMode
421
+ hideStats bool
420
422
}
421
423
422
424
func (r * compileResult ) Data () interface {} {
@@ -428,6 +430,10 @@ func (r *compileResult) String() string {
428
430
return strings .Join (r .BuilderResult .GetBuildProperties (), fmt .Sprintln ())
429
431
}
430
432
433
+ if r .hideStats {
434
+ return ""
435
+ }
436
+
431
437
titleColor := color .New (color .FgHiGreen )
432
438
nameColor := color .New (color .FgHiYellow )
433
439
pathColor := color .New (color .FgHiBlack )
You can’t perform that action at this time.
0 commit comments