Skip to content

Commit

Permalink
match on dist name, not on release name
Browse files Browse the repository at this point in the history
  • Loading branch information
wchristian committed Jan 1, 2012
1 parent f37eea0 commit 53799ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WWW/CPAN/Feeds.pm
Expand Up @@ -118,7 +118,7 @@ sub apply_feed {
my @regexes = split '\n', $feed->{regexes};
my %matched_releases;
for my $re ( @regexes ) {
my @matches = grep { $_->{name} =~ /$re/ } @releases;
my @matches = grep { $_->{distribution} =~ /$re/ } @releases;
$matched_releases{ $_->{name} } = $_ for @matches;
}

Expand Down

0 comments on commit 53799ad

Please sign in to comment.