Unverified Commit c3794c8b authored by boklm's avatar boklm
Browse files

Change 'tbbfile' report type to 'browserbundle'

Old reports may have 'tbbfile' as report type.
parent 1f1637da
...@@ -95,7 +95,9 @@ sub make_report { ...@@ -95,7 +95,9 @@ sub make_report {
sub report_type { sub report_type {
my ($report) = @_; my ($report) = @_;
foreach my $tbbfile (values %{$report->{tbbfiles}}) { foreach my $tbbfile (values %{$report->{tbbfiles}}) {
return $tbbfile->{type} // 'browserbundle'; return 'browserbundle' if not defined $tbbfile->{type};
return 'browserbundle' if $tbbfile->{type} eq 'tbbfile';
return $tbbfile->{type};
} }
return 'browserbundle'; return 'browserbundle';
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment