Make RuboCop happy
This commit is contained in:
parent
6017e3b90d
commit
c26bc5097f
|
@ -4,7 +4,7 @@ module MergeRequests
|
|||
return error('Invalid issue iid') unless issue_iid.present? && issue.present?
|
||||
|
||||
params[:label_ids] = issue.label_ids if issue.label_ids.any?
|
||||
|
||||
|
||||
result = CreateBranchService.new(project, current_user).execute(branch_name, ref)
|
||||
return result if result[:status] == :error
|
||||
|
||||
|
|
Loading…
Reference in New Issue