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 e3555dc Allow for empty trailer
e3555dc is described below
commit e3555dc3a0f9636e886841915c418d636dd882df
Author: Sebb <[email protected]>
AuthorDate: Fri Feb 19 16:06:53 2021 +0000
Allow for empty trailer
---
lib/whimsy/asf/nominated-members.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/whimsy/asf/nominated-members.rb
b/lib/whimsy/asf/nominated-members.rb
index c5566d7..0d172a6 100644
--- a/lib/whimsy/asf/nominated-members.rb
+++ b/lib/whimsy/asf/nominated-members.rb
@@ -60,7 +60,7 @@ module ASF
if id
nominees[id] = nominee if id
else
- unless block.join('') =~ /^\s+$/ # all blank, e.g. trailing divider
+ unless block.join('') =~ /^\s*$/ # all blank or empty, e.g. trailing
divider
Wunderbar.warn "Error, could not find public name"
Wunderbar.warn block.inspect
nominees['notinavail'] = {'Public Name' => '-- WARNING: unable to
parse section --'}