lib/danger/request_sources/github/github.rb in danger-4.3.4 vs lib/danger/request_sources/github/github.rb in danger-4.3.5

- old
+ new

@@ -353,10 +353,10 @@ # file_line is set once we find the hunk the line is in # we need to count how many lines in new file we have # so we do it one by one ignoring the deleted lines if !file_line.nil? && !line.start_with?("-") if file_line == message.line - file_line = nil if dismiss_out_of_range_messages && !line.start_with("+") + file_line = nil if dismiss_out_of_range_messages && !line.start_with?("+") break end file_line += 1 end