Skip to content

Commit

Permalink
fix warnings when authors have no fullname
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Feb 23, 2024
1 parent 84e3ca7 commit f96d5f4
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 f96d5f4

Please sign in to comment.