fix(install): pass --show-error to curl

This commit is contained in:
Christian Clason 2024-07-17 16:33:10 +02:00
parent f649c2ff75
commit 804a6473df

View file

@ -252,6 +252,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision,
opts = {
args = {
"--silent",
"--show-error",
"-L", -- follow redirects
is_github and url .. "/archive/" .. revision .. ".tar.gz"
or url .. "/-/archive/" .. revision .. "/" .. project_name .. "-" .. revision .. ".tar.gz",