From cde491bc2071bc3f837b0ff78b1074ca5e46c3e5 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sun, 10 Nov 2024 18:06:22 -0500 Subject: Fixed error around get_repository_addons cache. --- src/lpm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lpm.lua b/src/lpm.lua index d27f9ed..9fab82b 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1625,7 +1625,7 @@ function Bottle:all_addons() repo_path = (hash[id] and hash[id][1].local_path or nil), dependencies = (hash[id] and hash[id][1].dependencies or nil) })) - if not hash[id] then hash[id] = t[#t] end + if not hash[id] then hash[id] = { t[#t] } end end end end -- cgit v1.2.3