Fix Github::Representation::PullRequest#source_branch_exists?

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册