Skip to content

Commit

Permalink
Merge pull request #1169 from metacpan/haarg/fix-warnings-no-fullname
Browse files Browse the repository at this point in the history
fix warnings when authors have no fullname
  • Loading branch information
haarg authored Feb 24, 2024
2 parents 84e3ca7 + f96d5f4 commit 5e04dad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MetaCPAN/Script/Author.pm
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,8 @@ sub author_data_from_cpan {
asciiname => $whois_data->{asciiname},
%$author_config,
is_pause_custodial_account => (
$whois_data->{fullname} =~ /\(PAUSE Custodial Account\)/ ? 1 : 0
( $whois_data->{fullname} // '' )
=~ /\(PAUSE Custodial Account\)/ ? 1 : 0
),
};

Expand Down

0 comments on commit 5e04dad

Please sign in to comment.