Skip to content

Commit a940d52

Browse files
authored
KAFKA-18342 Use File.exist instead of File.exists to ensure the Vagrantfile works with Ruby 3.2+ (apache#18306)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 4d6535e commit a940d52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Vagrantfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jdk_major = '17'
5959
jdk_full = '17-linux-x64'
6060

6161
local_config_file = File.join(File.dirname(__FILE__), "Vagrantfile.local")
62-
if File.exists?(local_config_file) then
62+
if File.exist?(local_config_file) then
6363
eval(File.read(local_config_file), binding, "Vagrantfile.local")
6464
end
6565

0 commit comments

Comments
 (0)