From 0952b7b0eac3b602bad9c1cd5289c15477e4e392 Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 31 Dec 2019 13:25:16 +0000 Subject: avoid type check failure --- lib/MaildirIndexer/Index/ByAddresses.rakumod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MaildirIndexer/Index/ByAddresses.rakumod b/lib/MaildirIndexer/Index/ByAddresses.rakumod index ab0d5bb..7ee2f96 100644 --- a/lib/MaildirIndexer/Index/ByAddresses.rakumod +++ b/lib/MaildirIndexer/Index/ByAddresses.rakumod @@ -46,7 +46,7 @@ method add-mail(MaildirIndexer::Email:D $email, Str:D $mailbox --> Nil) { method del-path(IO:D $file, Str:D $mailbox --> Nil) { MaildirIndexer::LogTimelineSchema::Index::Rm.log: :class('ByAddresses'),:$mailbox, -> { - my Str @addresses = %!addresses-for-file{$file.path}:delete or return; + my Str @addresses = |%!addresses-for-file{$file.path}:delete or return; self.account-for(@addresses,$mailbox,-1); -- cgit v1.2.3