Permalink
Browse files

Restore summary output after collecting coverage.

  • Loading branch information...
pjcj committed Aug 2, 2012
1 parent ad64145 commit 89b71f7a80e94e6b3c745099663c732f748d203d
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Devel/Cover/DB.pm
View
@@ -413,7 +413,7 @@ sub print_summary
my $oldfh = select STDOUT;
- $options{files} = $files || [];
+ $options{files} = $files if $files && @$files;
$self->calculate_summary(%options, %$opts);
my $format = sub

0 comments on commit 89b71f7

Please sign in to comment.