diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2024-11-10 18:06:22 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2024-11-10 18:06:22 -0500 |
commit | cde491bc2071bc3f837b0ff78b1074ca5e46c3e5 (patch) | |
tree | 3b7c037e0dd03f1b8aa5003854163cc5a41d8f3f /src/lpm.lua | |
parent | 0faf9b75756d255abfee7024d211ce1357df5119 (diff) | |
download | lite-xl-plugin-manager-master.tar.gz lite-xl-plugin-manager-master.zip |
Fixed error around get_repository_addons cache.HEADcontinuousmaster
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 2 |
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 |