File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -393,16 +393,20 @@ sub _update_mail_content_when_things_were_indexed {
393
393
sub _update_mail_content_when_nothing_was_indexed {
394
394
my ($self , $ctx , $m_ref , $status_ref ) = @_ ;
395
395
396
+ my $tf = Text::Format-> new(firstIndent => 0);
397
+
396
398
if ($self -> version_from_meta_ok($ctx )) {
397
- push @$m_ref , qq{ Nothing in this distro has been \n }
398
- . qq{ indexed, because according to META.yml this\n }
399
- . qq{ package does not provide any modules.\n\n } ;
399
+ push @$m_ref , $tf -> format(<<'EOF' ) . " \n " ;
400
+ Nothing in this distro has been indexed, because according to META.yml this
401
+ package does not provide any modules.
402
+ EOF
400
403
401
404
$$status_ref = " Empty_provides" ;
402
405
} else {
403
- push @$m_ref , qq{ No or no indexable package statements could be found\n }
404
- . qq{ in the distro (maybe a script or documentation\n }
405
- . qq{ distribution or a developer release?)\n\n } ;
406
+ push @$m_ref , $tf -> format(<<'EOF' ) . " \n " ;
407
+ No or no indexable package statements could be found in the distro (maybe a
408
+ script or documentation distribution or a developer release?)
409
+ EOF
406
410
407
411
$$status_ref = " Empty_no_pm" ;
408
412
}
You can’t perform that action at this time.
0 commit comments