codepipeline-lambda/lib/plain_text_results.rb
# Send a message for each violation
Send a message for each violation
Send a message for each violation
def message_violations(violations)
    violations.each do |violation|
      message message_type: "#{violation.type} #{violation.id}",
              message: violation.message,
              logical_resource_ids: violation.logical_resource_ids
      newline
    end
  end
def message_violations ( violations ) violations . each do | violation | message message_type : "#{violation.type} #{violation.id}" , message : violation . message , logical_resource_ids : violation . logical_resource_ids newline end end
Send a message for each violation
Send a message for each violation
violations