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 48540a8  Typo
48540a8 is described below

commit 48540a8b54ed604c4be8aac132921e4b493050c0
Author: Sebb <s...@apache.org>
AuthorDate: Thu Mar 19 16:42:28 2020 +0000

    Typo
---
 www/roster/models/committee.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/models/committee.rb b/www/roster/models/committee.rb
index 401d142..6ac038c 100644
--- a/www/roster/models/committee.rb
+++ b/www/roster/models/committee.rb
@@ -20,7 +20,7 @@ class Committee
     info = JSON.parse(File.read(File.join(comdev, 'projects.json')))[id]
 
     image_dir = ASF::SVN.find('site-img')
-    image = image_dir? Dir[File.join(image_dir, 
"#{id}*.{svg,eps,ai,pdf}")].map {|path| File.basename(path)}.first : nil
+    image = image_dir ? Dir[File.join(image_dir, 
"#{id}*.{svg,eps,ai,pdf}")].map {|path| File.basename(path)}.first : nil
 
     moderators = nil
     modtime = nil

Reply via email to