From 1e286e8bb07ca7265e07691a996aeffdf42bb670 Mon Sep 17 00:00:00 2001 From: Kuba Suder Date: Sat, 21 Dec 2024 16:24:01 +0200 Subject: [PATCH] flush stdout to log file --- lib/sync.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sync.rb b/lib/sync.rb index 070acea..58e4700 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -52,6 +52,7 @@ class Sync def log(s) puts "#{Time.now}: #{s}" + $stdout.flush end -- 2.51.2