fix(dowload): don't display curl progress

Fixes #1731
This commit is contained in:
Thomas Vigouroux 2021-08-23 09:20:46 +02:00
parent cbc42914bf
commit ac9f7a2d5a

View file

@ -142,6 +142,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
err = "Error during download, please verify your internet connection",
opts = {
args = {
"--no-progress-meter",
"-L", -- follow redirects
is_github and url .. "/archive/" .. revision .. ".tar.gz"
or url .. "/-/archive/" .. revision .. "/" .. project_name .. "-" .. revision .. ".tar.gz",