From 4288d3afbf0ca2f1d4595ad8fcf097eb05ac5df1 Mon Sep 17 00:00:00 2001 From: DanyLE Date: Sat, 28 Jan 2023 11:30:23 +0100 Subject: [PATCH] add debug message --- libs/packages.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/packages.lua b/libs/packages.lua index d9b5d34..27fadaa 100644 --- a/libs/packages.lua +++ b/libs/packages.lua @@ -16,6 +16,7 @@ packages._cache = function(y) f = io.open(file_path, "w") end if f then + LOG_DEBUG("Cache package files into: %s", file_path) local files = vfs.readDir(y) for k, v in pairs(files) do if v.type == "dir" then @@ -58,6 +59,7 @@ packages.list = function(paths) osp = f2 end if ulib.exists(osp) then + LOG_DEBUG("Use package cache files at: %s", osp) if first == false then std.t(",") else