Skip to content

Commit

Permalink
Assure all submitted code has valid POD.
Browse files Browse the repository at this point in the history
Case RE-77: This also fixes a POD error in elevate-cpanel due to a missing newline.

Changelog:
  • Loading branch information
toddr committed Jan 22, 2024
1 parent 06bacfb commit d4e0631
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions elevate-cpanel
Original file line number Diff line number Diff line change
Expand Up @@ -6414,6 +6414,7 @@ sub post_upgrade_check ($self) {
}

=pod
> cat /var/log/leapp/answerfile
[remove_pam_pkcs11_module_check]
confirm=True
Expand Down
1 change: 1 addition & 0 deletions script/elevate-cpanel.PL
Original file line number Diff line number Diff line change
Expand Up @@ -1681,6 +1681,7 @@ sub post_upgrade_check ($self) {
}

=pod
> cat /var/log/leapp/answerfile
[remove_pam_pkcs11_module_check]
confirm=True
Expand Down
1 change: 1 addition & 0 deletions t/cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ on 'test' => sub {
recommends "Template";
recommends "JSON::MaybeXS";
recommends "Test::PerlTidy";
recommends "Test::Pod";
};
4 changes: 4 additions & 0 deletions t/pod.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
use Test::More;
use Test::Pod;

all_pod_files_ok(qw/script lib/);

0 comments on commit d4e0631

Please sign in to comment.