X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/08a2ff7f2801498d5cf8f387e8c881ee1cda9a3c..803172831f77eea8c97c6141de1c1a9375c81ca1:/lib/lyricli/configuration.rb diff --git a/lib/lyricli/configuration.rb b/lib/lyricli/configuration.rb index b90e772..53a3e2b 100644 --- a/lib/lyricli/configuration.rb +++ b/lib/lyricli/configuration.rb @@ -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