Skip to content
Snippets Groups Projects
Commit 63cb6c84 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Merge branch 'fix-merge-service-with-no-source' into 'master'

Fix merge service error with no source

See merge request !9348
parents 1fd90ef5 40d26e25
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -18,7 +18,7 @@ module MergeRequests
@source = find_merge_source
 
unless @source
log_merge_error('No source for merge', save_message_on_model: true)
return log_merge_error('No source for merge', save_message_on_model: true)
end
 
merge_request.in_locked_state do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment