From 7ce58df7bfbfaae55fdac38c47660d81c4757a1e Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Thu, 23 May 2019 15:28:41 +1000 Subject: [PATCH] lint the file somehow I did not notice this on save --- lib/tasks/uploads.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rake index 9b035b306d9..0b9ff90045c 100644 --- a/lib/tasks/uploads.rake +++ b/lib/tasks/uploads.rake @@ -943,8 +943,8 @@ def inline_img_tags(post) if !upload local_file = File.join(Rails.root, "public", $2) if File.exist?(local_file) - File.open(local_file) do |f| - upload = UploadCreator.new(f,"image").create_for(post.user_id) + File.open(local_file) do |f| + upload = UploadCreator.new(f, "image").create_for(post.user_id) end end end