From a3dbe3685e384d52dad2070e423b92de89cbd9fe Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 1 Oct 2018 16:42:38 +0800 Subject: [PATCH] Fix the build. --- lib/upload_recovery.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/upload_recovery.rb b/lib/upload_recovery.rb index fc64839a557..3ab5da75f83 100644 --- a/lib/upload_recovery.rb +++ b/lib/upload_recovery.rb @@ -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