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 554fd1fd Ensure unbuffered output
554fd1fd is described below
commit 554fd1fda450d4f150b481703a4d2d113154df06
Author: Sebb <[email protected]>
AuthorDate: Sun Jul 13 13:02:51 2025 +0100
Ensure unbuffered output
---
tools/pubsub.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/pubsub.rb b/tools/pubsub.rb
index 81f9ce4d..a66c0c9e 100644
--- a/tools/pubsub.rb
+++ b/tools/pubsub.rb
@@ -14,6 +14,8 @@ require 'net/http'
require 'json'
require 'fileutils'
+$stdout.sync = true # unbuffered output
+
def stamp(*s)
line = caller[0].split(':')[1]
'%s: @%s %s' % [Time.now.gmtime.to_s, line, s.join(' ')]