Skip to content

Commit

Permalink
update generated file
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamhm committed Sep 13, 2023
1 parent 02dae8b commit 28ce7ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -10825,6 +10825,9 @@ local function tl_package_loader(module_name)
local chunk, err = load(code, "@" .. found_filename, "t")
if chunk then
return function(modname, loader_data)
if loader_data == nil then
loader_data = found_filename
end
local ret = chunk(modname, loader_data)
package.loaded[module_name] = ret
return ret
Expand Down

0 comments on commit 28ce7ef

Please sign in to comment.