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:04:49 UTC
(kafka) branch trunk 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 trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new a940d520703 KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)
a940d520703 is described below
commit a940d520703c133e964f13d2ec864a78972978b3
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