whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Fix bad line wrap
Date Sun, 09 Sep 2018 23:45:01 GMT
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 b6b48d3  Fix bad line wrap
b6b48d3 is described below

commit b6b48d3d22216965b1810e2f480d9bcdd2758a0e
Author: Sebb <sebb@apache.org>
AuthorDate: Mon Sep 10 00:44:58 2018 +0100

    Fix bad line wrap
---
 tools/collate_minutes.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index e2ae11e..9cdece9 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -84,8 +84,8 @@ if File.exist? INDEX_FILE
     unless force
       # Add stamp to index page
       page = File.read(INDEX_FILE)
-      open(INDEX_FILE, 'w') {|file| file.write 
-        page.sub(/(Last run: )\d{4}-\d\d-\d\d \d\d:\d\d(\. The data is extracted from a list
of)/,"\\1#{STAMP}\\2")
+      open(INDEX_FILE, 'w') { |file|
+        file.write page.sub(/(Last run: )\d{4}-\d\d-\d\d \d\d:\d\d(\. The data is extracted
from a list of)/,"\\1#{STAMP}\\2")
       }
       exit
     end


Mime
View raw message