Skip to content

Use File.exist? instead of File.exists? which has been removed in Ruby 3.2.0#36

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-deprecated-file-exists
Dec 29, 2022
Merged

Use File.exist? instead of File.exists? which has been removed in Ruby 3.2.0#36
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-deprecated-file-exists

Conversation

@mitchellhenke
Copy link

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/

Removed methods

The following deprecated methods are removed.

    Dir.exists? [[Feature #17391](https://bugs.ruby-lang.org/issues/17391)]
    File.exists? [[Feature #17391](https://bugs.ruby-lang.org/issues/17391)]

@mitchellhenke mitchellhenke requested a review from a team December 28, 2022 23:15
@mitchellhenke mitchellhenke merged commit 37c6675 into main Dec 29, 2022
@aduth aduth deleted the mitchellhenke/fix-deprecated-file-exists branch January 3, 2023 14:00
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