Skip to content
This repository
Browse code

Collect coverage even when structure can't be read

  • Loading branch information...
commit 2e1e88535e462d58aaf34b057cb425b88fc9135d 1 parent 0d47f8d
Paul Johnson authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. +2 0  lib/Devel/Cover/DB.pm
2  lib/Devel/Cover/DB.pm
@@ -711,6 +711,8 @@ sub cover
711 711
712 712 for my $run (@runs)
713 713 {
  714 + last unless $st;
  715 +
714 716 my $r = $self->{runs}{$run};
715 717 @{$self->{collected}}{@{$r->{collected}}} = ();
716 718 $st->add_criteria(@{$r->{collected}});

0 comments on commit 2e1e885

Please sign in to comment.
Something went wrong with that request. Please try again.