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:44 UTC

(kafka) branch 3.9 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 3.9
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/3.9 by this push:
     new 430892654bc KAFKA-18342 Use `File.exist` instead of `File.exists` to ensure the `Vagrantfile` works with Ruby 3.2+ (#18306)
430892654bc is described below

commit 430892654bcf45d644e66b532d83aab0f569cb7d
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 a053be28d01..acb72ccb484 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -59,7 +59,7 @@ jdk_major = '8'
 jdk_full = '8u202-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