Skip to content

Commit

Permalink
indexer: be more precise in "nothing to index" email text
Browse files Browse the repository at this point in the history
  • Loading branch information
rjbs committed Jun 22, 2024
1 parent a6e19d1 commit 3fbb036
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/PAUSE/dist.pm
Original file line number Diff line number Diff line change
Expand Up @@ -401,8 +401,8 @@ sub _update_mail_content_when_nothing_was_indexed {

if ($self->version_from_meta_ok($ctx)) {
push @$m_ref, $tf->format(<<'EOF') . "\n";
Nothing in this distro has been indexed, because according to META.yml this
package does not provide any modules.
Nothing in this distribution has been indexed, because according to META.yml
this distribution does not provide any packages.
EOF

$$status_ref = "Empty_provides";
Expand Down
2 changes: 1 addition & 1 deletion t/mldistwatch-misc.t
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ subtest "indexer ran, but nothing indexed" => sub {
sub {
like(
$_[0]{email}->object->body_str,
qr/this package does not provide any modules/,
qr/this distribution does not provide any packages/,
"email has the expected content",
);
},
Expand Down

0 comments on commit 3fbb036

Please sign in to comment.