DEV: Correct description in `posts:missing_uploads` rake task.

This commit is contained in:
Guo Xiang Tan 2019-06-24 14:57:20 +08:00
parent 4c89f7f881
commit 2cc5561504
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,7 @@ def missing_uploads
missing[:post_uploads].each do |id, uploads|
post = Post.with_deleted.find_by(id: id)
if post
puts "#{post.full_url} giving up on #{uploads.length} upload/s"
puts "#{post.full_url} giving up on #{uploads.length} upload(s)"
PostCustomField.create!(post_id: post.id, name: Post::MISSING_UPLOADS_IGNORED, value: "t")
else
puts "could not find post #{id}"