diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2018-12-31 02:29:23 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2018-12-31 02:29:55 -0800 |
| commit | 0760d4fb6495c4aa4f74038457acede5063f514a (patch) | |
| tree | a147c0e449a952780ade2fff80d8a7bb66ad4909 /nomsu.lua | |
| parent | 06cded44aff81ef9ccfb1cd7af913cf4f8a7eeb5 (diff) | |
Fix for bug in nomsupath checking of input files.
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -199,16 +199,8 @@ run = function() local nomsu_name = f:match("^nomsu://(.*)") if nomsu_name then for nomsupath in package.nomsupath:gmatch("[^;]+") do - local _continue_0 = false - repeat - files = Files.list(nomsupath .. "/" .. nomsu_name) - if not (files) then - _continue_0 = true - break - end - _continue_0 = true - until true - if not _continue_0 then + files = Files.list(nomsupath .. "/" .. nomsu_name) + if files then break end end |
