actually fix it this time
This commit is contained in:
@ -829,13 +829,15 @@ return setmetatable({
|
||||
|
||||
bench("load", function()
|
||||
root = register("squibid/dep")
|
||||
register_recursive(config)
|
||||
if config["load"] and type(config["load"]) == "function" then
|
||||
local ok, ret = pcall(config["load"]())
|
||||
local ok, ret = pcall(config["load"])
|
||||
if ok and type(ret) == "table" then
|
||||
register_recursive(ret)
|
||||
else
|
||||
logger:log("error", ret)
|
||||
end
|
||||
end
|
||||
register_recursive(config)
|
||||
sort_dependencies()
|
||||
ensure_acyclic()
|
||||
end)
|
||||
|
Reference in New Issue
Block a user