]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - lib/lyricli/configuration.rb
fix warn that File.exists 'been deprecated in 2.1
[rbdr/lyricli.rb] / 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