whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [1/1] Commit 787ef6d: try being a little less greedy
Date Thu, 18 Feb 2016 14:53:28 GMT
Commit 787ef6d4c860907ace1e102ac5e8ccc32c28d64a:
    try being a little less greedy


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/status/monitors/public_json.rb                           | + -
------------------------------------------------------------
2 changes: 1 additions, 1 deletions.
------------------------------------------------------------


diff --git a/www/status/monitors/public_json.rb b/www/status/monitors/public_json.rb
index b8b5936..3811b32 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -23,7 +23,7 @@ def Monitor.public_json(previous_status)
       contents = File.read(log, encoding: Encoding::UTF_8)
 
       # Ignore Wunderbar logging for normal messages (may occur multiple times)
-      contents.gsub! /^(_INFO|_DEBUG) .*\n+/, ''
+      contents.gsub! /^(_INFO|_DEBUG) .*?\n+/, ''
 
       # diff -u output:
       if contents.sub! /^--- .*?\n(\n|\Z)/m, ''

Mime
View raw message