lib/codeowner_validator/validator.rb
# Public: Performs the execution of all tasks and returns the comments to be interpreted
Performs the execution of all tasks and returns the comments to be interpreted
Performs the execution of all tasks and returns the comments to be interpreted
def comments
      comments = []
      in_repo_folder do
        tasks&.each do |task|
          parent = Comment.build(
            comment: task.summary,
            type: Comment::TYPE_VERBOSE
          )
          task.comments.each do |comment|
            comment.parent = parent
            comments << comment
          end
        end
      end
      comments.group_by(&:parent)
    end
def comments comments = [ ] in_repo_folder do tasks &. each do | task | parent = Comment . build ( comment : task . summary , type : Comment :: TYPE_VERBOSE ) task . comments . each do | comment | comment . parent = parent comments << comment end end end comments . group_by ( & :parent ) end
Public: Performs the execution of all tasks and returns the comments to be interpreted
Public : Performs the execution of all tasks and returns the comments to be interpreted