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/15 13:59:27 UTC

[whimsy] branch master updated: ensure that there is white space after flagged reports

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 30e06ef  ensure that there is white space after flagged reports
30e06ef is described below

commit 30e06ef0319d70eb9abac5718bf3e040a2895feb
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Jan 15 08:59:01 2018 -0500

    ensure that there is white space after flagged reports
---
 www/board/agenda/views/actions/commit.json.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/www/board/agenda/views/actions/commit.json.rb b/www/board/agenda/views/actions/commit.json.rb
index 29a0972..f9d3aa2 100644
--- a/www/board/agenda/views/actions/commit.json.rb
+++ b/www/board/agenda/views/actions/commit.json.rb
@@ -112,6 +112,7 @@ Agenda.update(agenda_file, @message) do |agenda|
           flags.gsub! /\n +# .*? \[.*\]/, ''
           flags[/discussion:\n\n()/, 1] = flagged_reports.sort.
             map {|pmc, who| "        # #{pmc} [#{who.join(', ')}]\n"}.join
+          flags.sub!(/\n+(\s+)A\.\z/) {"\n\n#{$1}A."}
         end
 
         flags

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].