File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 4141my $es = MetaCPAN::ES-> new( type => " release" );
4242my $bulk = $es -> bulk();
4343
44- index_reports();
45-
4644log_info { ' Mirroring ' . $db };
4745
4846$ua -> mirror( $db , " $db .bz2" ) unless $skip_download ;
116114 }
117115
118116 # maybe use Data::Compare instead
119- for my $condition (qw( fail pass na unknown) ) {
117+ for my $condition ( qw< fail pass na unknown > ) {
120118 last if $insert_ok ;
121119 if ( ( $tester_results -> {$condition } || 0 )
122120 != $row_from_db -> {$condition } )
126124 }
127125
128126 next unless ($insert_ok );
129- my %tests = map { $_ => $row_from_db -> {$_ } } qw( fail pass na unknown) ;
127+ my %tests = map { $_ => $row_from_db -> {$_ } } qw< fail pass na unknown > ;
130128 $bulk -> update( {
131129 doc => { tests => \%tests },
132130 doc_as_upsert => 1,
You can’t perform that action at this time.
0 commit comments