class Dependabot::PullRequestCreator::MessageBuilder::LinkAndMentionSanitizer

def replace_github_host(text)

def replace_github_host(text)
  return text if !github_redirection_service.nil? && text.include?(T.must(github_redirection_service))
  text.gsub(
    /(www\.)?github.com/, github_redirection_service || "github.com"
  )
end