Skip to content

Commit

Permalink
ignore system indexes when deleting for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Oct 27, 2024
1 parent 8d40746 commit d6571ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MetaCPAN/Script/Mapping.pm
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ sub delete_all {
|| $runtime_environment eq 'testing';

if ($is_development) {
foreach my $name ( keys %{ $self->indices_info } ) {
foreach my $name ( grep !/\A\./, keys %{ $self->indices_info } ) {
$self->_delete_index($name);
}
}
Expand Down

0 comments on commit d6571ec

Please sign in to comment.