You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: doctor.rb
    path of file: ./repos/bridgetown/bridgetown-core/lib/bridgetown-core/commands
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Bridgetown
  module Commands
    class Doctor < Thor::Group
      extend BuildOptions
      extend Summari
    
      def conflicting_urls(site)
        conflicting_urls = false
        urls = {}
        urls = collect_urls(urls, site.contents, site.dest)
        urls.each do |url, paths|
          next unless paths.size > 1

          conflicting_urls = true
          Bridgetown.logger.warn "Conflict:", "The URL '#{url}' is the destination " \
                                              "for the following pages: #{paths.join(", ")}"
        end
        conflicting_urls
      end