You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2018/09/09 23:45:01 UTC

[whimsy] branch master updated: Fix bad line wrap

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 <se...@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