Commit c26bc509 authored by Sean McGivern's avatar Sean McGivern

Make RuboCop happy

parent 6017e3b9
......@@ -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
......
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