aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/nomsu.lua b/nomsu.lua
index cfa515a..bb044b4 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -173,9 +173,14 @@ run = function()
local _list_0 = args.inputs
for _index_0 = 1, #_list_0 do
local input = _list_0[_index_0]
+ local found = false
for f in files.walk(input) do
input_files[#input_files + 1] = f
to_run[f] = true
+ found = true
+ end
+ if not found then
+ error("Could not find: " .. tostring(input))
end
end
nomsu.can_optimize = function(f)