Skip to content

Commit

Permalink
Merge pull request #51 from itkrt2y/master
Browse files Browse the repository at this point in the history
Replace `File.exists?` with `File.exist?` for compatibility with Ruby 3.2
  • Loading branch information
joker1007 committed May 23, 2023
2 parents d6c9734 + 11c0b66 commit b7a2d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rukawa/cli.rb
Expand Up @@ -114,7 +114,7 @@ def load_config
if options[:config]
load File.expand_path(options[:config], Dir.pwd)
else
load default_config_file if File.exists?(default_config_file)
load default_config_file if File.exist?(default_config_file)
end

Rukawa.configure do |c|
Expand Down

0 comments on commit b7a2d06

Please sign in to comment.