BigW Consortium Gitlab

Fix Github::Representation::PullRequest#source_branch_exists?

parent 5947f798
......@@ -18,7 +18,7 @@ module Github
end
def source_branch_exists?
return if defined?(@source_branch_exists)
return @source_branch_exists if defined?(@source_branch_exists)
@source_branch_exists = !cross_project? && source_branch.exists?
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