Skip to content

Commit

Permalink
Fix file.exists in new Ruby version
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomb2 committed Oct 14, 2023
1 parent d46f525 commit 133c22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/svn2git/migration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def parse(args)
options[:rebasebranch] = false
options[:forceenustogit] = 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

Expand Down

0 comments on commit 133c22f

Please sign in to comment.