From fec6578b25180325e45f87b8f302cf23ebf3fcb3 Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Sat, 23 Nov 2024 17:12:20 +0100 Subject: [PATCH] also cache lack of email to pauseid mapping --- lib/MetaCPAN/Script/Role/Contributor.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/MetaCPAN/Script/Role/Contributor.pm b/lib/MetaCPAN/Script/Role/Contributor.pm index 0ba487f08..52f532822 100644 --- a/lib/MetaCPAN/Script/Role/Contributor.pm +++ b/lib/MetaCPAN/Script/Role/Contributor.pm @@ -212,6 +212,8 @@ sub get_contributors { $email_mapping->{$_} //= $pauseid for ref $emails ? @$emails : $emails; } + + $email_mapping->{$_} //= undef for @fetch_email; } for my $email ( keys %want_email ) {