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 2018/01/30 18:46:33 UTC
[whimsy] branch master updated: ensure committee_mtime is not nil
This is an automated email from the ASF dual-hosted git repository.
rubys 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 11d1c82 ensure committee_mtime is not nil
11d1c82 is described below
commit 11d1c82067c0d87eed635b66234412baa86f19f4
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Jan 30 13:46:21 2018 -0500
ensure committee_mtime is not nil
---
lib/whimsy/asf/committee.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index bfdddb6..e8ba343 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -104,8 +104,8 @@ module ASF
file = "#{board}/committee-info.txt"
return unless File.exist? file
- if @committee_info and File.mtime(file) <= @committee_mtime
- return @committee_info
+ if @committee_mtime and File.mtime(file) <= @committee_mtime
+ return @committee_info if @committee_info
end
@committee_mtime = File.mtime(file)
--
To stop receiving notification emails like this one, please contact
rubys@apache.org.