lib/danger/request_sources/vsts.rb in danger-8.6.1 vs lib/danger/request_sources/vsts.rb in danger-9.0.0

- old
+ new

@@ -193,10 +193,10 @@ # Once we know we're gonna submit it, we format it if is_markdown_content body = generate_inline_markdown_body(m, danger_id: danger_id, template: "vsts") else # Hide the inline link behind a span - m.message.gsub!("\n", "<br />") + m.message = m.message.gsub("\n", "<br />") m = process_markdown(m, true) body = generate_inline_comment_body(emoji, m, danger_id: danger_id, template: "vsts") # A comment might be in previous_violations because only now it's part of the unified diff # We remove from the array since it won't have a place in the table anymore previous_violations.reject! { |v| messages_are_equivalent(v, m) }