From 029bf80c518fc6b2ab0e502bc658ce8bb93f6973 Mon Sep 17 00:00:00 2001 From: eejebring Date: Fri, 21 Aug 2026 23:15:12 +0200 Subject: [PATCH] fix --- git.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git.lua b/git.lua index 412436c..cdf1e5f 100644 --- a/git.lua +++ b/git.lua @@ -78,7 +78,7 @@ local function parseGiteaURL(url) } local lowerUrl = string.lower(url) if not string.endsWith(lowerUrl, ending) then error("A gitea link needs to end with " .. ending) end - for proto in protocols do + for _, proto in pairs(protocols) do if string.beginsWith(lowerUrl, proto) then info.protocol = proto break