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 2019/09/29 16:57:23 UTC

[whimsy] branch master updated: strengthen nonstandard title checks

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 94e6a5a  strengthen nonstandard title checks
94e6a5a is described below

commit 94e6a5aa5ee725d1f21fd443520b16ce5101c072
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Sun Sep 29 12:55:45 2019 -0400

    strengthen nonstandard title checks
---
 lib/whimsy/asf/agenda/special.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/agenda/special.rb b/lib/whimsy/asf/agenda/special.rb
index f2bb53f..6537581 100644
--- a/lib/whimsy/asf/agenda/special.rb
+++ b/lib/whimsy/asf/agenda/special.rb
@@ -54,7 +54,7 @@ class ASF::Board::Agenda
 
       title_checks.each do |select, match|
         if fulltitle =~ select and fulltitle !~ match and
-          fulltitle =~ /chair|project|committee/i
+          (fulltitle + text) =~ /chair|project|committee/i
        then
           attrs['warnings'] << 
             "Non-standard title wording: #{fulltitle.inspect}; " +