From 0760d4fb6495c4aa4f74038457acede5063f514a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 31 Dec 2018 02:29:23 -0800 Subject: Fix for bug in nomsupath checking of input files. --- nomsu.moon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.moon') diff --git a/nomsu.moon b/nomsu.moon index 6219b7b..d2981ef 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -125,7 +125,7 @@ run = -> if nomsu_name = f\match("^nomsu://(.*)") for nomsupath in package.nomsupath\gmatch("[^;]+") files = Files.list(nomsupath.."/"..nomsu_name) - continue unless files + break if files else files = Files.list(f) unless files and #files > 0 -- cgit v1.2.3