Update packages.lua
All checks were successful
gitea-sync/antos-backend/pipeline/head This commit looks good

This commit is contained in:
Dany LE 2023-06-20 18:04:18 +02:00 committed by GitHub
parent 4d97476aab
commit b80bb1c0ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,9 +60,8 @@ packages.list = function(paths)
osp = f2
end
if ulib.exists(osp) then
LOG_DEBUG("Use package cache files at: %s", osp)
LOG_DEBUG("Use package cache files at: %s", osp)
local data = JSON.decodeFile(osp)
LOG_ERROR("ERROR: %s", data)
if data then
for k1,v1 in pairs(data) do
ret.result[k1] = v1