Variable should be local
This commit is contained in:
parent
36def2ee32
commit
5bf3c9eaf3
@ -73,7 +73,7 @@ local function gen_ignore_check()
|
||||
end
|
||||
|
||||
return function(path)
|
||||
idx = path:match(".+()%.%w+$")
|
||||
local idx = path:match(".+()%.%w+$")
|
||||
local ignore_extension
|
||||
if idx then
|
||||
ignore_extension = ignore_list['*'..string.sub(path, idx)]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user