Skip to content

Commit

Permalink
Merge pull request #800 from haarg-contrib/authorized-only
Browse files Browse the repository at this point in the history
only include perl releases from metacpan that are marked as authorized
  • Loading branch information
gugod authored Jun 9, 2024
2 parents 6982c9f + 7228b63 commit 7ccc6c2
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 @@ -712,6 +712,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 7ccc6c2

Please sign in to comment.