lib/abak-flow/pull_request.rb in abak-flow-0.3.0 vs lib/abak-flow/pull_request.rb in abak-flow-0.3.1
- old
+ new
@@ -45,10 +45,10 @@
def base
exit unless validator.valid?
branch = Abak::Flow::PullRequest.branch_by_prefix(branch_prefix)
- request_params.body || "#{repository.remote_by_name('upstream').project.owner}:#{branch}"
+ request_params.base || "#{repository.remote_by_name('upstream').project.owner}:#{branch}"
end
def head
exit unless validator.valid?
\ No newline at end of file