log when config is found

This commit is contained in:
Luna 2025-05-02 18:47:58 -03:00
parent 6e9f673d91
commit 08f17f812b

View file

@ -7,6 +7,7 @@ local function findConfigFile()
local possible_config_path = config_directory .. "/" .. "conf.lua"
local fd, res = io.open(possible_config_path, "rb")
if fd then
log('config found at ' .. possible_config_path)
local data = fd:read("*a")
fd:close()
return data