Skip to content

Commit 718e8bc

Browse files
refs #64658: Ruby 3.2 compatibility issues.
1 parent 87b067d commit 718e8bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/repository/git_remote.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def ensure_possibly_empty_clone_exists
102102
return "#{clone_url} is not a valid remote."
103103
end
104104

105-
if Dir.exists? clone_path
105+
if Dir.exist? clone_path
106106
existing_repo_remote, status = RedmineGitRemote::PoorMansCapture3::capture2("git", "--git-dir", clone_path, "config", "--get", "remote.origin.url")
107107
return "Unable to run: git --git-dir #{clone_path} config --get remote.origin.url" unless status.success?
108108

0 commit comments

Comments
 (0)