You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2019/10/24 13:11:59 UTC

[whimsy] branch master updated: Bug: need to check class

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 4d2ae92  Bug: need to check class
4d2ae92 is described below

commit 4d2ae9233bc1e3e92b55e6798d2e93fb8b567779
Author: Sebb <se...@apache.org>
AuthorDate: Thu Oct 24 14:11:56 2019 +0100

    Bug: need to check class
---
 lib/whimsy/asf/site.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/site.rb b/lib/whimsy/asf/site.rb
index 6e1f582..3f41884 100644
--- a/lib/whimsy/asf/site.rb
+++ b/lib/whimsy/asf/site.rb
@@ -30,7 +30,7 @@ module ASF
 
     # find the data for a given committee.
     def self.find(committee)
-      committee = committee.name if ASF::Committee == committee
+      committee = committee.name if committee.is_a? ASF::Committee
       list[committee]
     end