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 80eee79: handle multiple diffs
Date Fri, 19 Feb 2016 00:55:10 GMT
Commit 80eee794c19fd37f614deb05ea759ddf38002d50:
    handle multiple diffs


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 3811b32..f25c7c0 100644
--- a/www/status/monitors/public_json.rb
+++ b/www/status/monitors/public_json.rb
@@ -26,7 +26,7 @@ def Monitor.public_json(previous_status)
       contents.gsub! /^(_INFO|_DEBUG) .*?\n+/, ''
 
       # diff -u output:
-      if contents.sub! /^--- .*?\n(\n|\Z)/m, ''
+      if contents.gsub! /^--- .*?\n(\n|\Z)/m, ''
         status[name].merge! level: 'info', title: 'updated'
       end
 

Mime
View raw message