fix undefined variable

This commit is contained in:
Daniel Bendel 2021-04-15 09:19:08 +02:00 committed by Thomas Vigouroux
parent 50aa988327
commit 5ff8535bb4

View file

@ -141,7 +141,7 @@ function M.select_download_commands(repo, project_name, cache_folder, revision)
opts = {
args = {
'-L', -- follow redirects
is_github and url.."/archive/"..revision..".tar.gz"
is_github_or_gitlab and url.."/archive/"..revision..".tar.gz"
or url.."/-/archive/"..revision.."/"..project_name.."-"..revision..".tar.gz",
'--output',
project_name..".tar.gz"