Skip to content

Commit

Permalink
make Perl::Critic happier
Browse files Browse the repository at this point in the history
  • Loading branch information
szabgab committed Mar 30, 2024
1 parent 260a4cc commit b346be5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/Perl/Maven.pm
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ hook before_template => sub {
if ( mymaven->{github} and -e path( mymaven->{root}, 'sites', $language, 'pages', "$path.txt" ) ) {
$t->{edit} = mymaven->{github} . "/tree/main/sites/$language/pages/$path.txt";
$t->{github} = mymaven->{github};
$t->{github_title} = "";
$t->{github_title} = '';
my $host = request->host;
$t->{github_body} = "$host/$path";
$t->{github_body} =~ s{/+}{/}; # remove double slashes
Expand Down
2 changes: 1 addition & 1 deletion lib/Perl/Maven/Analyze.pm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ option dir => (
is => 'ro',
required => 0,
format => 's',
doc => 'Path to directory that holds the source code of the projects'
doc => 'Path to directory that holds the source code of the projects',
);

sub _log {
Expand Down
2 changes: 1 addition & 1 deletion t/30-perl-maven.t
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ my $EMAIL4 = 'foobar@perlmaven.com';
my @PASSWORD = ( '123456', 'abcdef', 'secret', 'qwerty' );
my @NAMES = ( 'Foo Bar', );

plan skip_all => "We have disabled the registration features";
plan skip_all => 'We have disabled the registration features';

plan tests => 13;

Expand Down

0 comments on commit b346be5

Please sign in to comment.