From 23e8d5af5a0de59c89f5a1bfda165ebe975a2181 Mon Sep 17 00:00:00 2001 From: David Given Date: Sat, 20 Aug 2016 12:40:00 +0200 Subject: [PATCH] Wildcards are allowed to match no files now. --- first/ackbuilder.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/first/ackbuilder.lua b/first/ackbuilder.lua index c90d1d021..4b3e1bc6a 100644 --- a/first/ackbuilder.lua +++ b/first/ackbuilder.lua @@ -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}