Skip to content

Commit

Permalink
Merge pull request #67 from XSven/master
Browse files Browse the repository at this point in the history
fix is_ArrayRef() precedence change if Type::Tiny::XS is installed
  • Loading branch information
oalders authored Feb 12, 2024
2 parents d52fd1e + bd76f75 commit 0cbc905
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/OrePAN2/Indexer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ sub do_metacpan_lookup {

while ( my $file = $modules->next ) {
my $module = $file->module or next;
for my $inner ( is_ArrayRef $module ? @{$module} : $module ) {
for my $inner ( is_ArrayRef($module) ? @{$module} : $module ) {
next unless $inner->{indexed};
$provides->{release}->{ $file->release }->{ $inner->{name} }
//= $inner->{version};
Expand Down

0 comments on commit 0cbc905

Please sign in to comment.