fix: extra spaces in wrapper

This commit is contained in:
minish 2026-02-07 04:44:59 -05:00
parent e42465c914
commit 035061056a
Signed by: min
SSH Key Fingerprint: SHA256:mf+pUTmK92Y57BuCjlkBdd82LqztTfDCQIUp0fCKABc
1 changed files with 3 additions and 3 deletions

View File

@ -8,16 +8,16 @@ end)(setmetatable({
__call = function(self, mod_name) __call = function(self, mod_name)
local mod_cache, ret_cache = self[1], self[2] local mod_cache, ret_cache = self[1], self[2]
local mod, ret = mod_cache[mod_name], ret_cache[mod_name] local mod, ret = mod_cache[mod_name], ret_cache[mod_name]
if not mod then if not mod then
return require(mod_name) return require(mod_name)
end end
if mod and not ret then if mod and not ret then
ret_cache[mod_name] = mod(self) ret_cache[mod_name] = mod(self)
ret = ret_cache[mod_name] ret = ret_cache[mod_name]
end end
return ret return ret
end, __metatable = false end, __metatable = false
})) }))