You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2024/12/24 07:05:24 UTC
(kafka) branch 4.0 updated: KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)
This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/4.0 by this push:
new 60b646c70cd KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)
60b646c70cd is described below
commit 60b646c70cd3500a237abc65a2bd971329acc2ea
Author: Jhen-Yung Hsu <jh...@gmail.com>
AuthorDate: Tue Dec 24 15:04:42 2024 +0800
KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)
Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
Vagrantfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Vagrantfile b/Vagrantfile
index 7541f50f08d..3a6b5a5afe1 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -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