Commit 11f840bf authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent ad320577
...@@ -676,6 +676,7 @@ class MergeRequest < ActiveRecord::Base ...@@ -676,6 +676,7 @@ class MergeRequest < ActiveRecord::Base
def pipeline def pipeline
return unless diff_head_sha && source_project return unless diff_head_sha && source_project
@pipeline ||= source_project.pipeline_for(source_branch, diff_head_sha) @pipeline ||= source_project.pipeline_for(source_branch, diff_head_sha)
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment