DEV: Fix hardcoded value introduced in cc2bac86e9ba41a948c7c6fdee8c184615c68b98.

DEV: Fix hardcoded value introduced in cc2bac86e9ba41a948c7c6fdee8c184615c68b98.

diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rake
index 2d5baff..8fd1960 100644
--- a/lib/tasks/uploads.rake
+++ b/lib/tasks/uploads.rake
@@ -372,7 +372,7 @@ def migrate_to_s3
       ]
     ].each do |from_url, to_url|
 
-      if true
+      if dry_run
         puts "REPLACING '#{from_url}' WITH '#{to_url}'"
       else
         DbHelper.regexp_replace(from_url, to_url)

GitHub sha: 71e431de

2 Likes