Remove usage of deprecated File.exists?
What does this MR do and why?
- This is being removed in Ruby 3.2, see "Removed methods" section: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
- Was deprecated in Ruby 2.1.0. We should use File.exist? instead
- https://bugs.ruby-lang.org/issues/17391
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jessie Young