Remove extra argument to os.match
This value will always be ignored as os.match only takes a single argument and is not needed to generate correct results.
This commit is contained in:
parent
5719c8f92a
commit
dc2651fdd4
@ -274,7 +274,7 @@
|
||||
while os.matchnext(m) do
|
||||
if not os.matchisfile(m) then
|
||||
local matchpath = path.join(before, os.matchname(m), mask:sub(starpos))
|
||||
results = table.join(results, os.match(matchpath, after))
|
||||
results = table.join(results, os.match(matchpath))
|
||||
end
|
||||
end
|
||||
os.matchdone(m)
|
||||
|
Reference in New Issue
Block a user