An empty line after guard, feedback:

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13904931
This commit is contained in:
Lin Jen-Shin 2016-08-16 21:04:06 +08:00
parent ad32057759
commit 11f840bfa5

View file

@ -676,6 +676,7 @@ class MergeRequest < ActiveRecord::Base
def pipeline
return unless diff_head_sha && source_project
@pipeline ||= source_project.pipeline_for(source_branch, diff_head_sha)
end