X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/ac4c2838ec59a3850cfcbcef2fe141f526aaa13b..ff4ccc1139a8730a7613c8289ec3df29680865e1:/lib/lyricli/configuration.rb?ds=inline diff --git a/lib/lyricli/configuration.rb b/lib/lyricli/configuration.rb index 811526b..53a3e2b 100644 --- a/lib/lyricli/configuration.rb +++ b/lib/lyricli/configuration.rb @@ -56,7 +56,7 @@ module Lyricli def load_config path = File.expand_path(@config_path) - if File.exists?(path) + if File.exist?(path) file = File.new(path, "r") @config = MultiJson.decode(file.read) else @@ -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