lib/stash/pull_request.rb in face_control-0.6.0 vs lib/stash/pull_request.rb in face_control-0.7.0
- old
+ new
@@ -7,9 +7,13 @@
def initialize(repository, id)
self.repository = repository
self.id = id
end
+ def filenames_with_added_lines
+ diff.filenames_with_added_lines
+ end
+
def add_comment(file, line, text)
return unless diff.added_line?(file, line)
return if already_commented?(file, line, text)
post_comment(file, line, text)