Browse Source

Merge branch 'develop' into standalone_develop

pull/347/head
yystopf 2 years ago
parent
commit
62ff6dd1d7
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/controllers/pull_requests_controller.rb

+ 1
- 0
app/controllers/pull_requests_controller.rb View File

@@ -203,6 +203,7 @@ class PullRequestsController < ApplicationController

def pr_merge
return render_forbidden("你没有权限操作.") unless @project.operator?(current_user)
return normal_status(-1, "该分支存在冲突,无法自动合并.") unless @pull_request.conflict_files.blank?

if params[:do].blank?
normal_status(-1, "请选择合并方式")


Loading…
Cancel
Save