]> git.r.bdr.sh - rbdr/lyricli.rb/commitdiff
fix warn that File.exists 'been deprecated in 2.1
authormil <redacted>
Sun, 7 Sep 2014 01:21:33 +0000 (21:21 -0400)
committermil <redacted>
Sun, 7 Sep 2014 01:21:33 +0000 (21:21 -0400)
lib/lyricli/configuration.rb

index b90e772b1fa3bfc04ccae56ee8cc2a1b8b366b29..53a3e2bb9566b6c8b533330d18af0990dc0bccbb 100644 (file)
@@ -79,7 +79,7 @@ module Lyricli
       # Load the default
       path = File.join(::Lyricli.root, "config", @defaults_path)
 
-      if File.exists?(path)
+      if File.exist?(path)
         file = File.new(path, "r")
         @config = MultiJson.decode(file.read)
       else