Made varaible anonymous.
This commit is contained in:
parent
20f0c5ba1e
commit
c8b2b8c205
|
@ -881,7 +881,7 @@ function core.load_plugins()
|
||||||
end
|
end
|
||||||
table.sort(ordered)
|
table.sort(ordered)
|
||||||
|
|
||||||
for i, filename in ipairs(ordered) do
|
for _, filename in ipairs(ordered) do
|
||||||
local plugin_dir, basename = files[filename], filename:match("(.-)%.lua$") or filename
|
local plugin_dir, basename = files[filename], filename:match("(.-)%.lua$") or filename
|
||||||
local is_lua_file, version_match = check_plugin_version(plugin_dir .. '/' .. filename)
|
local is_lua_file, version_match = check_plugin_version(plugin_dir .. '/' .. filename)
|
||||||
if is_lua_file then
|
if is_lua_file then
|
||||||
|
|
Loading…
Reference in New Issue