File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -70,13 +70,14 @@ sub run {
7070 $error_totals -> {$row_data -> {error_status }}++ if $row_data -> {error_status };
7171 my $severity = $row_data -> {severity };
7272
73- if ($row_data -> {key } eq ' ' ) {
73+ if ($row_data -> {error_status } ne ' ' ) {
7474 $html .= qq|
7575<tr class="key status $severity ">
7676 <td colspan="2">$row_data ->{error_status}</td>
7777</tr>
7878| ;
7979 } else {
80+ my $key = $row_data -> {key } ne ' ' ? $row_data -> {key } : qq| <em>Empty key</em>| ;
8081 my $status = $row_data -> {error_status } ne ' ' ? qq| <span class="status">$row_data ->{error_status}</span| : ' ' ;
8182
8283 map {
@@ -87,7 +88,7 @@ sub run {
8788 my $class = qq| class="$severity "| if $severity ne ' ' ;
8889 $html .= qq|
8990<tr class="key $severity ">
90- <td colspan="2">$row_data ->{ key} $status </td>
91+ <td colspan="2">$key$status </td>
9192</tr>
9293
9394<tr$class >
You can’t perform that action at this time.
0 commit comments