diff options
author | dakkar <dakkar@thenautilus.net> | 2019-12-31 13:25:16 +0000 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2019-12-31 13:25:16 +0000 |
commit | 0952b7b0eac3b602bad9c1cd5289c15477e4e392 (patch) | |
tree | 6b5a0a382fda27c09313c4c7a167d5c94de21677 /lib | |
parent | work around some weird newline issues (diff) | |
download | MaildirIndexer-0952b7b0eac3b602bad9c1cd5289c15477e4e392.tar.gz MaildirIndexer-0952b7b0eac3b602bad9c1cd5289c15477e4e392.tar.bz2 MaildirIndexer-0952b7b0eac3b602bad9c1cd5289c15477e4e392.zip |
avoid type check failure
Diffstat (limited to 'lib')
-rw-r--r-- | lib/MaildirIndexer/Index/ByAddresses.rakumod | 2 |
1 files changed, 1 insertions, 1 deletions
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); |