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 2022/04/22 13:18:41 UTC
[whimsy] branch master updated: Need to match LF!
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 e3b4e247 Need to match LF!
e3b4e247 is described below
commit e3b4e247ce3635ea0e9ba6918d75544e300937ba
Author: Sebb <se...@apache.org>
AuthorDate: Fri Apr 22 14:18:36 2022 +0100
Need to match LF!
---
tools/pubsub2rake.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/pubsub2rake.rb b/tools/pubsub2rake.rb
index 8f4b1559..b1d9b4ec 100755
--- a/tools/pubsub2rake.rb
+++ b/tools/pubsub2rake.rb
@@ -125,7 +125,7 @@ if $0 == __FILE__
path = event['pubsub_path']
if WATCH.include? path # WATCH auto-vivifies
$hits += 1
- log = event['commit']['log'].sub(/\n.*/, '') # keep only first line
+ log = event['commit']['log'].sub(/\n.*/m, '') # keep only first line
id = event['commit']['id']
puts ""
puts stamp id, path, log
@@ -159,7 +159,7 @@ if $0 == __FILE__
else
$misses += 1
if File.exist? '/srv/svn/pubsub2rake.trace'
- log = event['commit']['log'].sub(/\n.*/, '') # keep only first line
+ log = event['commit']['log'].sub(/\n.*/m, '') # keep only first line
id = event['commit']['id']
puts ""
puts stamp id, path, 'DBG', log