Variable should be local

This commit is contained in:
Joel D. Elkins
2021-01-17 15:33:22 -06:00
committed by Kiyan
parent 92da0c78a3
commit bfc9606aa0

View File

@@ -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)]