Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
perltidy the change as requested.
  • Loading branch information
manwar committed May 23, 2025
commit 480bfe1bd41a3b37eeb940f25fea69bf2086ce3f
4 changes: 2 additions & 2 deletions lib/MetaCPAN/Web/Controller/Release.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ sub view : Private {
## Remove author from contributors list
my $author_name = $data->{author}->{name};
my $contributors = [];
foreach my $contributor (@{$data->{contributors}}) {
if ($contributor->{name} !~ /\b$author_name\b/) {
foreach my $contributor ( @{ $data->{contributors} } ) {
if ( $contributor->{name} !~ /\b$author_name\b/ ) {
push @$contributors, $contributor;
}
}
Expand Down
Loading