File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ function compat.require(module_name, builtin_module_name)
1111 if module_cached ~= nil then
1212 module = module_cached
1313 elseif package .search (module_name ) then
14- -- we don't use pcall(require, modile_name ) here because it
14+ -- we don't use pcall(require, module_name ) here because it
1515 -- leads to ignoring errors other than 'No LuaRocks module found'
1616 log .info (' %q module is used' , module_name )
1717 module = require (module_name )
@@ -22,11 +22,6 @@ function compat.require(module_name, builtin_module_name)
2222
2323 rawset (_G , module_cached_name , module )
2424
25- local hotreload = package.loaded [' cartridge.hotreload' ]
26- if hotreload ~= nil then
27- hotreload .whitelist_globals ({module_cached_name })
28- end
29-
3025 return module
3126end
3227
You can’t perform that action at this time.
0 commit comments