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 08f4179  No need for RE here
08f4179 is described below

commit 08f41795491bd4cabd8c8e9261389a1f7bc025fd
Author: Sebb <[email protected]>
AuthorDate: Thu Feb 18 12:56:52 2021 +0000

    No need for RE here
---
 www/roster/views/actions/memstat.json.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/roster/views/actions/memstat.json.rb 
b/www/roster/views/actions/memstat.json.rb
index eb73821..ce3ce56 100644
--- a/www/roster/views/actions/memstat.json.rb
+++ b/www/roster/views/actions/memstat.json.rb
@@ -46,7 +46,7 @@ if @action == 'emeritus' or @action == 'active' or @action == 
'deceased'
       end
     elsif @action == 'deceased'
       index = text.index(/^\s\*\)\s/, text.index(/^Deceased/))
-      entry.sub! %r{\n}, " /* deceased, #{@dod} */\n" # add the deceased 
comment
+      entry.sub! "\n", " /* deceased, #{@dod} */\n" # add the deceased comment
     end
 
     # perform the insertion

Reply via email to