mirror of
https://github.com/apache/kafka.git
synced 2026-10-28 08:24:58 +08:00
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:
1 parent
4d6535e60d
commit
a940d52070
1 file changed
+1
-1
Vendored
+1
-1
@@ -59,7 +59,7 @@ jdk_major = '17'
|
||||
jdk_full = '17-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
|
||||
|
||||
|
||||
Reference in new issue
Block a user