We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 580c3f7 + 8da5daa commit 3f6c611Copy full SHA for 3f6c611
bin/cpan_testers.pl
@@ -41,8 +41,6 @@
41
my $es = MetaCPAN::ES->new( type => "release" );
42
my $bulk = $es->bulk();
43
44
-index_reports();
45
-
46
log_info { 'Mirroring ' . $db };
47
48
$ua->mirror( $db, "$db.bz2" ) unless $skip_download;
@@ -116,7 +114,7 @@
116
114
}
117
115
118
# maybe use Data::Compare instead
119
- for my $condition (qw(fail pass na unknown)) {
+ for my $condition ( qw< fail pass na unknown > ) {
120
last if $insert_ok;
121
if ( ( $tester_results->{$condition} || 0 )
122
!= $row_from_db->{$condition} )
@@ -126,7 +124,7 @@
126
124
127
125
128
next unless ($insert_ok);
129
- my %tests = map { $_ => $row_from_db->{$_} } qw(fail pass na unknown);
+ my %tests = map { $_ => $row_from_db->{$_} } qw< fail pass na unknown >;
130
$bulk->update( {
131
doc => { tests => \%tests },
132
doc_as_upsert => 1,
0 commit comments