diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-23 18:04:11 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-23 18:04:23 -0700 |
| commit | 9f08215dfb179c3c37c18016fb0eafb7ec6e681e (patch) | |
| tree | 6d1108b07b9a0a57dbc6c3701bf9971c9144da40 /nomsu.lua | |
| parent | 247e55059ce94521895f362f5cdfdebf49bfb8e1 (diff) | |
Moved console colors from core/ into lib/
Diffstat (limited to 'nomsu.lua')
| -rw-r--r-- | nomsu.lua | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |
