aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2024-11-10 18:06:22 -0500
committerAdam Harrison <adamdharrison@gmail.com>2024-11-10 18:06:22 -0500
commitcde491bc2071bc3f837b0ff78b1074ca5e46c3e5 (patch)
tree3b7c037e0dd03f1b8aa5003854163cc5a41d8f3f
parent0faf9b75756d255abfee7024d211ce1357df5119 (diff)
downloadlite-xl-plugin-manager-master.tar.gz
lite-xl-plugin-manager-master.zip
Fixed error around get_repository_addons cache.HEADcontinuousmaster
-rw-r--r--src/lpm.lua2
1 files changed, 1 insertions, 1 deletions
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