File.exists? has been deprecated and it will be removed since Ruby
3.2. This method has been removed on the master branch of Ruby, so
pre-commit doesn't work with the master branch of Ruby.
This PR replaces the deprecated method calls to solve this problem.
File.exists?
has been deprecated and it will be removed since Ruby 3.2. This method has been removed on the master branch of Ruby, so pre-commit doesn't work with the master branch of Ruby.This PR replaces the deprecated method calls to solve this problem.