This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 6189f14  Lint
6189f14 is described below

commit 6189f144e780f737ef05a0bf7d5a03a81092a8d4
Author: Sebb <[email protected]>
AuthorDate: Fri Mar 18 17:05:54 2022 +0000

    Lint
---
 lib/whimsy/asf/mail.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/mail.rb b/lib/whimsy/asf/mail.rb
index 1056955..b856870 100644
--- a/lib/whimsy/asf/mail.rb
+++ b/lib/whimsy/asf/mail.rb
@@ -7,7 +7,7 @@ module ASF
     # ASF::Person that is associated with that email.
     def self.list
       begin
-        return Hash[@list.to_a] if @list
+        return @list.to_h if @list
       rescue NoMethodError, WeakRef::RefError
       end
 

Reply via email to