Skip to content

Commit

Permalink
only include perl releases from metacpan that are marked as authorized
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Apr 26, 2024
1 parent dd5a319 commit 7228b63
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/App/perlbrew.pm
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,8 @@ sub available_perl_distributions {

my $decoded = decode_json($json);
for my $release ( @{ $decoded->{releases} } ) {
next
if !$release->{authorized};
push @perllist, [$release->{name}, $release->{download_url}];
}
foreach my $perl ( $self->filter_perl_available( \@perllist ) ) {
Expand Down

0 comments on commit 7228b63

Please sign in to comment.