def rubocop_challenge!(before_version, after_version)
      Rubocop::Challenge.exec(options[:file_path], options[:mode]).tap do |rule|
        pull_request.commit! ":police_car: #{rule.title}"
      end
    rescue Errors::NoAutoCorrectableRule => e
      create_another_pull_request!(before_version, after_version)
      raise e
    end
def rubocop_challenge!(before_version, after_version)
      Rubocop::Challenge.exec(options[:file_path], options[:mode]).tap do |rule|
        pull_request.commit! ":police_car: #{rule.title}"
      end
    rescue Errors::NoAutoCorrectableRule => e
      create_another_pull_request!(before_version, after_version)
      raise e
    end
Run rubocop challenge.

 @param before_version [String]
   The version of RuboCop which created ".rubocop_todo.yml" before
   re-generate.
 @param after_version [String]
   The version of RuboCop which created ".rubocop_todo.yml" after
   re-generate
 @return [Rubocop::Rule]
   The corrected rule
 @raise [Errors::NoAutoCorrectableRule]
   Raises if there is no auto correctable rule in ".rubocop_todo.yml"