Merge pull request #5208 from zkxs/install-behind-proxy

Fix Nil error when mirror download fails
This commit is contained in:
Mike McQuaid 2018-10-31 09:45:59 +00:00 committed by GitHub
commit 492b3f88ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
retry
end
ensure
download_lock.unlock
download_lock&.unlock
end
def clear_cache