Merge pull request #12176 from Bo98/ds-fix

download_strategy: remove redundant conditional
This commit is contained in:
Bo Anderson 2021-10-04 17:37:46 +01:00 committed by GitHub
commit 46489031fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -550,7 +550,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
"because we need it installed to download securely." "because we need it installed to download securely."
@insecure_warning_shown = true @insecure_warning_shown = true
end end
args += ["--insecure"] if meta[:insecure] args += ["--insecure"]
end end
args args