Control: tags -1 patch

This is the only place exists() is used, so the obvious fix is this one-character change, but I have not tested whether there are also other issues.

--- a/lib/shelr/recorder.rb
+++ b/lib/shelr/recorder.rb
@@ -89,7 +89,7 @@ module Shelr
     end

     def check_record_dir
-      FileUtils.mkdir_p(record_dir) unless File.exists?(record_dir)
+      FileUtils.mkdir_p(record_dir) unless File.exist?(record_dir)
     end

     def init_terminal

Reply via email to