X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/ac4c2838ec59a3850cfcbcef2fe141f526aaa13b..92c7bc006fd44f4dcd29ebaad7ee16c18aa099fc:/lib/lyricli/configuration.rb 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