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:
Matthew Endsley 2016-06-30 02:40:23 +00:00
parent 5719c8f92a
commit dc2651fdd4

View File

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