A platform for community discussion. Free, open, simple.
DEV: Fix `s3:upload_assets` not logging newlines (#30219)
Alan Guo Xiang Tan19321a0b86e1
diff --git a/lib/tasks/s3.rake b/lib/tasks/s3.rakeindex b27259421b5..1f5b6ddc383 100644--- a/lib/tasks/s3.rake+++ b/lib/tasks/s3.rake@@ -34,9 +34,9 @@ def upload(path, remote_path, content_type, content_encoding = nil, logger:)options[:content_encoding] = content_encoding if content_encodingif should_skip?(remote_path)- logger << "Skipping: #{remote_path}"+ logger << "Skipping: #{remote_path}\n"else- logger << "Uploading: #{remote_path}"+ logger << "Uploading: #{remote_path}\n"File.open(path) { |file| helper.upload(file, remote_path, options) }end