From b6150cb175270f23aa9ae9d1a7fb958e77c22786 Mon Sep 17 00:00:00 2001 From: Craig Disselkoen Date: Thu, 28 Sep 2017 11:45:01 -0700 Subject: [PATCH] kaleidoscope-builder: Better error message for sketch-not-found Currently, if kaleidoscope-builder fails to find a sketch file, the resulting error message is very confusing and unhelpful. This commit makes it more straightforward and helpful. --- bin/kaleidoscope-builder | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/kaleidoscope-builder b/bin/kaleidoscope-builder index 90117571..9be38507 100755 --- a/bin/kaleidoscope-builder +++ b/bin/kaleidoscope-builder @@ -32,6 +32,7 @@ find_sketch () { return fi done + echo "Couldn't find sketch (.ino file)" >&2 exit 1 }