Skip to content

Commit 9fe8662

Browse files
committed
CPANTesters script needs to search on the release type, not _every_ type.
1 parent 0aa1b74 commit 9fe8662

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/MetaCPAN/Script/CPANTesters.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,8 @@ sub run {
7474
sub index_reports {
7575
my $self = shift;
7676

77-
my $es = $self->model->es;
78-
my $index = $self->index->name;
79-
my $ua = LWP::UserAgent->new;
77+
my $es = $self->model->es;
78+
my $ua = LWP::UserAgent->new;
8079

8180
log_info { 'Mirroring ' . $self->db };
8281
my $db = $self->mirror_file;
@@ -94,6 +93,7 @@ sub index_reports {
9493
index => $self->index->name,
9594
search_type => 'scan',
9695
size => '500',
96+
type => 'release',
9797
);
9898

9999
my %releases;

0 commit comments

Comments
 (0)