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 41
41
my $es = MetaCPAN::ES-> new( type => " release" );
42
42
my $bulk = $es -> bulk();
43
43
44
- index_reports();
45
-
46
44
log_info { ' Mirroring ' . $db };
47
45
48
46
$ua -> mirror( $db , " $db .bz2" ) unless $skip_download ;
116
114
}
117
115
118
116
# maybe use Data::Compare instead
119
- for my $condition (qw( fail pass na unknown) ) {
117
+ for my $condition ( qw< fail pass na unknown > ) {
120
118
last if $insert_ok ;
121
119
if ( ( $tester_results -> {$condition } || 0 )
122
120
!= $row_from_db -> {$condition } )
126
124
}
127
125
128
126
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 > ;
130
128
$bulk -> update( {
131
129
doc => { tests => \%tests },
132
130
doc_as_upsert => 1,
You can’t perform that action at this time.
0 commit comments