From 9f08215dfb179c3c37c18016fb0eafb7ec6e681e Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 23 Jun 2018 18:04:11 -0700 Subject: Moved console colors from core/ into lib/ --- nomsu.moon | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nomsu.moon') diff --git a/nomsu.moon b/nomsu.moon index 19e7b26..da9f9bd 100755 --- a/nomsu.moon +++ b/nomsu.moon @@ -112,9 +112,13 @@ run = -> input_files = {} to_run = {} for input in *args.inputs + found = false for f in files.walk(input) input_files[#input_files+1] = f to_run[f] = true + found = true + if not found + error("Could not find: #{input}") nomsu.can_optimize = (f)-> return false unless args.optimized -- cgit v1.2.3