diff options
author | Sean McGivern <sean@gitlab.com> | 2017-08-21 14:30:37 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2017-08-21 14:30:37 +0100 |
commit | c26bc5097fbb4720f021c9889ba500151bb5b85a (patch) | |
tree | 6e7e6bb2bdb104a5474a5b75145d5fa1677be713 | |
parent | 6017e3b90d49255e8160ae3dd3e09402a18427df (diff) | |
download | gitlab-ce-c26bc5097fbb4720f021c9889ba500151bb5b85a.tar.gz |
Make RuboCop happy
-rw-r--r-- | app/services/merge_requests/create_from_issue_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/merge_requests/create_from_issue_service.rb b/app/services/merge_requests/create_from_issue_service.rb index e9e4513e0d0..da39a380451 100644 --- a/app/services/merge_requests/create_from_issue_service.rb +++ b/app/services/merge_requests/create_from_issue_service.rb @@ -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 |