File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -480,16 +480,19 @@ sub summarize_results_text_history {
480
480
my $score = $scores -> {$key };
481
481
my $column = $column {$comp -> {name }};
482
482
483
- if (defined $score ) {
484
- # Don't let new scores on the same date overwrite old ones
485
- $new_row -> ($date ) if $row [$column ] ne ' ' ;
483
+ # Don't let new scores on the same date overwrite old ones
484
+ $new_row -> ($date ) if $row [$column ] ne ' ' ;
486
485
486
+ if (defined $score ) {
487
487
my $color = $score > 50 ? $GREEN :
488
488
$score > 10 ? $YELLOW :
489
489
$RED ;
490
490
491
491
$row [$column ] = sprintf " $color %${longest_comp} .1f$CLEAR " , $score ;
492
492
}
493
+ else {
494
+ $row [$column ] = sprintf " $RED %${longest_comp} s$CLEAR " , ' --' ;
495
+ }
493
496
}
494
497
$output .= sprintf $format , @row if @row ;
495
498
You can’t perform that action at this time.
0 commit comments