Skip to content

Replace File.exists? with File.exist? - #52

Open
jsvd wants to merge 1 commit into
logstash-plugins:mainfrom
jsvd:fix-deprecated-file-exists
Open

Replace File.exists? with File.exist?#52
jsvd wants to merge 1 commit into
logstash-plugins:mainfrom
jsvd:fix-deprecated-file-exists

Conversation

@jsvd

@jsvd jsvd commented Feb 10, 2026

Copy link
Copy Markdown
Member

Summary

  • Replace File.exists? with File.exist? for Ruby 3.4 compatibility

File.exists? was deprecated in Ruby 3.2 and has been removed in Ruby 3.4 (JRuby 10). File.exist? has been the preferred method since Ruby 1.0.

File.exists? was deprecated in Ruby 3.2 and removed in Ruby 3.4 (JRuby 10).
Use File.exist? instead, which has been available since Ruby 1.0.
@jsvd
jsvd force-pushed the fix-deprecated-file-exists branch from e507d83 to 6ff9749 Compare February 10, 2026 09:45
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.

1 participant