Commit b4ad584c authored by mcmodder's avatar mcmodder
Browse files

Поправили опечаточку...

parent b1a3ce2e
Pipeline #100 passed with stage
in 24 seconds
......@@ -99,7 +99,7 @@ end
local function makeUrl( repoData, fileLink )
if repoData.type == "direct" then
return repoData.link.."/"..fileLink
if repoData.type == "gitlab" then
elseif repoData.type == "gitlab" then
return "https://"..(repoData.link or "gitlab.com").."/"..repoData.user.."/"..repoData.repo.."/raw/"..repoData.branch.."/"..fileLink
elseif repoData.type == "github" then
return "https://raw.githubusercontent.com/"..repoData.user.."/"..repoData.repo.."/"..repoData.branch.."/"..fileLink
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment