Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
correct 'indexed' field for all files in archive
  • Loading branch information
mickeyn committed Apr 24, 2016
1 parent cc3e519 commit 8a839eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Script/Release.pm
Expand Up @@ -228,7 +228,7 @@ sub import_archive {
my $meta = $model->metadata;
my $document = $model->document;

foreach my $file (@$modules) {
foreach my $file (@$files) {
$file->set_indexed($meta);
}

Expand All @@ -245,7 +245,7 @@ sub import_archive {
my $perms = $self->perms;
my @release_unauthorized;
my @provides;
foreach my $file (@$modules) {
foreach my $file (@$files) {
$_->set_associated_pod( \%associated_pod ) for ( @{ $file->module } );

# NOTE: "The method returns a list of unauthorized, but indexed modules."
Expand Down

0 comments on commit 8a839eb

Please sign in to comment.