Use a separate line for separate actions:

Feedback from:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/3363#note_12420487
This commit is contained in:
Lin Jen-Shin 2016-06-20 17:58:05 +08:00
parent 09c38e46e5
commit c491f66952

View file

@ -31,7 +31,8 @@ module Gitlab
end
def process_message
add_attachments(ReplyParser.new(mail).execute.strip)
message = ReplyParser.new(mail).execute.strip
add_attachments(message)
end
def add_attachments(reply)