Skip to content

Commit

Permalink
KAFKA-18342 Use File.exist instead of File.exists to ensure the `…
Browse files Browse the repository at this point in the history
…Vagrantfile` works with Ruby 3.2+ (apache#18306)

Reviewers: Chia-Ping Tsai <[email protected]>
  • Loading branch information
Yunyung authored Dec 24, 2024
1 parent 4d6535e commit a940d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a940d52

Please sign in to comment.