An empty line after guard, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5142#note_13904931
This commit is contained in:
parent
ad32057759
commit
11f840bfa5
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue