mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
Fix instances of deprecated class methods (#15183)
Replace ::File.exists? for ::File.exist?
This commit is contained in:
parent
cb19d4e88a
commit
1d558c35d0
23 changed files with 48 additions and 43 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue