download_strategy: fix whitespace.

This commit is contained in:
Mike McQuaid 2021-03-31 20:24:01 +01:00
parent c8aea8653a
commit 7b9b9e16ec
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70

View File

@ -426,7 +426,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
url = url.sub(%r{^((ht|f)tps?://)?}, "#{domain.chomp("/")}/")
end
out, _, status= curl_output("--location", "--silent", "--head", "--request", "GET", url.to_s)
out, _, status = curl_output("--location", "--silent", "--head", "--request", "GET", url.to_s)
lines = status.success? ? out.lines.map(&:chomp) : []