Wildcards are allowed to match no files now.
This commit is contained in:
parent
46bd70380c
commit
23e8d5af5a
|
@ -427,7 +427,7 @@ loadtarget = function(targetname)
|
|||
if targetname:find("[?*]") then
|
||||
files = posix.glob(targetname)
|
||||
if not files then
|
||||
error(string.format("glob '%s' matches no files", targetname))
|
||||
files = {}
|
||||
end
|
||||
else
|
||||
files = {targetname}
|
||||
|
|
Loading…
Reference in a new issue