A platform for community discussion. Free, open, simple.
DEV: Remove line of code that does not work (#30258)
Alan Guo Xiang Tanebfc33b55619
diff --git a/lib/tasks/s3.rake b/lib/tasks/s3.rakeindex 1f5b6ddc383..2f2c262629d 100644--- a/lib/tasks/s3.rake+++ b/lib/tasks/s3.rake@@ -40,8 +40,6 @@ def upload(path, remote_path, content_type, content_encoding = nil, logger:)File.open(path) { |file| helper.upload(file, remote_path, options) }end-- File.delete(path) if (File.exist?(path) && ENV["DELETE_ASSETS_AFTER_S3_UPLOAD"])enddef use_db_s3_config