You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/04/06 14:30:46 UTC

[whimsy] branch master updated: only include member info if it is not empty

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

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  71fe9e9   only include member info if it is not empty
71fe9e9 is described below

commit 71fe9e95583a8465a5bf987c9baa49c76637536f
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Apr 6 08:30:15 2016 -0400

    only include member info if it is not empty
---
 www/roster/models/committer.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/models/committer.rb b/www/roster/models/committer.rb
index 67f1b05..7a48803 100644
--- a/www/roster/models/committer.rb
+++ b/www/roster/models/committer.rb
@@ -109,7 +109,7 @@ class Committer
         end
       end
 
-      response[:member] = member
+      response[:member] = member unless member.empty?
 
     end
 

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].