X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/ac4c2838ec59a3850cfcbcef2fe141f526aaa13b..08a2ff7f2801498d5cf8f387e8c881ee1cda9a3c:/lib/lyricli/configuration.rb?ds=sidebyside diff --git a/lib/lyricli/configuration.rb b/lib/lyricli/configuration.rb index 811526b..b90e772 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