From 5a4a6f7f1ae21adf4d5720b0f641188f414625d9 Mon Sep 17 00:00:00 2001 From: Sudip Mukherjee Date: Mon, 12 Aug 2024 13:27:53 +0100 Subject: [PATCH] Fix crash with Ruby-3.2 Signed-off-by: Sudip Mukherjee --- lib/svn2git/migration.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svn2git/migration.rb b/lib/svn2git/migration.rb index 4de8a9e..5a9ca82 100755 --- a/lib/svn2git/migration.rb +++ b/lib/svn2git/migration.rb @@ -55,7 +55,7 @@ def parse(args) options[:password] = nil options[:rebasebranch] = false - if File.exists?(File.expand_path(DEFAULT_AUTHORS_FILE)) + if File.exist?(File.expand_path(DEFAULT_AUTHORS_FILE)) options[:authors] = DEFAULT_AUTHORS_FILE end