Fix the build.

This commit is contained in:
Guo Xiang Tan 2018-10-01 16:42:38 +08:00
parent cfa7173da3
commit a3dbe3685e
1 changed files with 1 additions and 0 deletions

View File

@ -58,6 +58,7 @@ class UploadRecovery
if background.present? && !Upload.exists?(url: background)
data = Upload.extract_upload_url(background)
next unless data
sha1 = data[2]
if @dry_run