Skip to content

Commit 554cbe0

Browse files
authored
Merge pull request #1342 from metacpan/haarg/numeric-rt-tickets
RT ticket counts should be numeric
2 parents 0b2f286 + 1cb5abc commit 554cbe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/MetaCPAN/Script/Tickets.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ sub parse_tsv {
283283
if !$row->{dist};
284284
$summary{ $row->{dist} }{'bugs'}{'rt'} = {
285285
source => $self->rt_dist_url( $row->{dist} ),
286-
active => $row->{active},
287-
closed => $row->{inactive},
286+
active => $row->{active} + 0,
287+
closed => $row->{inactive} + 0,
288288
map { $_ => $row->{$_} + 0 }
289289
grep { not /^(dist|active|inactive)$/ }
290290
keys %$row,

0 commit comments

Comments
 (0)