Made varaible anonymous.
This commit is contained in:
parent
05dcddaeec
commit
1376eaf54d
|
@ -685,7 +685,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