KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
Jhen-Yung Hsu 2024-12-24 15:04:42 +08:00 committed by Chia-Ping Tsai
parent 77246d1b69
commit 430892654b
1 changed files with 1 additions and 1 deletions

2
Vagrantfile vendored
View File

@ -59,7 +59,7 @@ jdk_major = '8'
jdk_full = '8u202-linux-x64'
local_config_file = File.join(File.dirname(__FILE__), "Vagrantfile.local")
if File.exists?(local_config_file) then
if File.exist?(local_config_file) then
eval(File.read(local_config_file), binding, "Vagrantfile.local")
end