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 a2bfb18  Must be outside scan loop (doh!)
a2bfb18 is described below

commit a2bfb18dfd8009d2fbbcf18b027b343b7c3c6e9a
Author: Sebb <[email protected]>
AuthorDate: Thu Feb 14 17:58:09 2019 +0000

    Must be outside scan loop (doh!)
---
 lib/whimsy/asf/agenda/minutes.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/minutes.rb b/lib/whimsy/asf/agenda/minutes.rb
index c389036..5c02923 100644
--- a/lib/whimsy/asf/agenda/minutes.rb
+++ b/lib/whimsy/asf/agenda/minutes.rb
@@ -1,6 +1,9 @@
 # Minutes from previous meetings
 
+
 class ASF::Board::Agenda
+  # Must be outside scan loop
+  FOUNDATION_BOARD = ASF::SVN.find('foundation_board')
   parse do
     minutes = @file.split(/^ 3. Minutes from previous meetings/,2).last.
       split(OFFICER_SEPARATOR,2).first
@@ -20,7 +23,6 @@ class ASF::Board::Agenda
       attrs['approved'] = attrs['approved'].strip.gsub(/\s+/, ' ')
 
       # Placate Travis
-      FOUNDATION_BOARD = ASF::SVN.find('foundation_board')
       if FOUNDATION_BOARD
         file = attrs['text'][/board_minutes[_\d]+\.txt/].untaint
         if file and File.exist?(File.join(FOUNDATION_BOARD, file))

Reply via email to