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 @@ -330,6 +330,7 @@ func runCompileCommand(cmd *cobra.Command, args []string) {
330
330
ProfileOut : profileOut ,
331
331
Success : compileError == nil ,
332
332
showPropertiesMode : showProperties ,
333
+ hideStats : preprocess ,
333
334
}
334
335
335
336
if compileError != nil {
@@ -394,6 +395,7 @@ type compileResult struct {
394
395
Error string `json:"error,omitempty"`
395
396
396
397
showPropertiesMode arguments.ShowPropertiesMode
398
+ hideStats bool
397
399
}
398
400
399
401
func (r * compileResult ) Data () interface {} {
@@ -405,6 +407,10 @@ func (r *compileResult) String() string {
405
407
return strings .Join (r .BuilderResult .GetBuildProperties (), fmt .Sprintln ())
406
408
}
407
409
410
+ if r .hideStats {
411
+ return ""
412
+ }
413
+
408
414
titleColor := color .New (color .FgHiGreen )
409
415
nameColor := color .New (color .FgHiYellow )
410
416
pathColor := color .New (color .FgHiBlack )
You can’t perform that action at this time.
0 commit comments