Add missing require in uploads:fix_incorrect_extensions.

This commit is contained in:
Guo Xiang Tan 2018-08-08 15:39:00 +08:00
parent a35f2984e9
commit 0879610ffd

View File

@ -712,5 +712,6 @@ task "uploads:analyze", [:cache_path, :limit] => :environment do |_, args|
end
task "uploads:fix_incorrect_extensions" => :environment do
require_dependency "upload_fixer"
UploadFixer.fix_extensions
end