Fix instances of deprecated class methods (#15183)

Replace ::File.exists? for ::File.exist?
This commit is contained in:
Andres Rodriguez 2023-07-17 11:32:46 -04:00 committed by GitHub
parent cb19d4e88a
commit 1d558c35d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 48 additions and 43 deletions

View file

@ -54,7 +54,7 @@ module LogStash
def oss_only?
return true if ENV['OSS']=="true"
!File.exists?(File.join(LogStash::Environment::LOGSTASH_HOME, "x-pack"))
!File.exist?(File.join(LogStash::Environment::LOGSTASH_HOME, "x-pack"))
end
def win_platform?