aboutsummaryrefslogtreecommitdiff
path: root/nomsu.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-31 02:29:23 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-31 02:29:55 -0800
commit0760d4fb6495c4aa4f74038457acede5063f514a (patch)
treea147c0e449a952780ade2fff80d8a7bb66ad4909 /nomsu.moon
parent06cded44aff81ef9ccfb1cd7af913cf4f8a7eeb5 (diff)
Fix for bug in nomsupath checking of input files.
Diffstat (limited to 'nomsu.moon')
-rwxr-xr-xnomsu.moon2
1 files changed, 1 insertions, 1 deletions
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