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 a8882527 Avoid parse error by ensuring two spaces before chair email
a8882527 is described below

commit a888252770f614a597c6c1c47f9d5fc222ca6c6b
Author: Sebb <[email protected]>
AuthorDate: Fri Aug 30 23:54:37 2024 +0100

    Avoid parse error by ensuring two spaces before chair email
---
 lib/whimsy/asf/committee.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/committee.rb b/lib/whimsy/asf/committee.rb
index a5026c04..61b172b8 100644
--- a/lib/whimsy/asf/committee.rb
+++ b/lib/whimsy/asf/committee.rb
@@ -283,7 +283,8 @@ module ASF
 
       # sort and concatenate committees
       committees = committees.sort_by { |name, _chair| name.downcase }.
-        map { |name, chair| "    #{name.ljust(23)} #{chair}" }.
+        # ensure 2 spaces before chair email even if name is long
+        map { |name, chair| "    #{name.ljust(22)}  #{chair}" }.
         join("\n")
 
       # replace committee info in the section, and then replace the

Reply via email to