From 9e51c00dfb1f07baab72553139ed66feb0a8e46f Mon Sep 17 00:00:00 2001 From: Eric Budd Date: Thu, 1 Feb 2018 02:27:30 -0500 Subject: [PATCH] Minor tweaks and cleanup --- iris.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iris.rb b/iris.rb index 7fa6561..5f59986 100755 --- a/iris.rb +++ b/iris.rb @@ -10,6 +10,7 @@ # # Tech debt: # TODO: Add tests +# TODO: Reeeeefactor... # TODO: Split helptext into separate file? # TODO: Move all puts into Display class # TODO: Make all output WIDTH-aware @@ -26,6 +27,7 @@ # TODO: Add optional title for topics # TODO: Add version, filenames, etc. to helptext # TODO: Add line marker for topics to show if they have replies +# TODO: Add message when no topics are found # # Features: # TODO: Add read-only mode if user doesn't want/can't have message file @@ -93,7 +95,7 @@ class IrisFile puts '(It\'s not a JSON array of messages, as far as I can tell)' puts 'Please fix or delete this message file to use Iris.' puts '*' * 80 - exit(0) + exit(1) else puts " * Unable to interpret data from #{filepath}, skipping..." return []