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