Skip to content

Commit add12c8

Browse files
authored
Merge pull request #1306 from metacpan/haarg/no-bad-ticket
tickets script: don't try to add dist data that doesn't exist
2 parents 6b546bd + 664f108 commit add12c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: lib/MetaCPAN/Script/Tickets.pm

+2
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ sub parse_tsv {
248248

249249
my %summary;
250250
while ( my $row = $tsv_parser->getline_hr($fh) ) {
251+
next
252+
if !$row->{dist};
251253
$summary{ $row->{dist} }{'bugs'}{'rt'} = {
252254
source => $self->rt_dist_url( $row->{dist} ),
253255
active => $row->{active},

0 commit comments

Comments
 (0)