Skip to content

Replace deprecated File.exists? with File.exist?#282

Merged
willnet merged 1 commit intogazay:masterfrom
krororo:replace-file-exists
Aug 4, 2025
Merged

Replace deprecated File.exists? with File.exist?#282
willnet merged 1 commit intogazay:masterfrom
krororo:replace-file-exists

Conversation

@krororo
Copy link
Contributor

@krororo krororo commented Aug 2, 2025

File.exists? was removed in Ruby 3.2, so replace it with File.exist?.
see: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

`File.exists?` was removed in Ruby 3.2, so replace it with `File.exist?`.
see: https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
@willnet willnet merged commit 14fccbb into gazay:master Aug 4, 2025
24 checks passed
@willnet
Copy link
Collaborator

willnet commented Aug 4, 2025

@krororo Thanks!

Since this wasn’t detected by CI, it means our test coverage isn’t sufficient. We probably need to add more test coverage.

@krororo krororo deleted the replace-file-exists branch August 4, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants