Commit bf290a52 authored by Stan Hu's avatar Stan Hu

Rubocop fix

parent 577565d9
...@@ -94,7 +94,7 @@ module MergeRequests ...@@ -94,7 +94,7 @@ module MergeRequests
# gitlab_git throws a Rugged::OdbError # gitlab_git throws a Rugged::OdbError
# This is fixed in https://gitlab.com/gitlab-org/gitlab_git/merge_requests/52 # This is fixed in https://gitlab.com/gitlab-org/gitlab_git/merge_requests/52
@commits = @project.repository.commits_between(common_ref, @newrev) if common_ref @commits = @project.repository.commits_between(common_ref, @newrev) if common_ref
rescue => e rescue
end end
# Prevent system notes from seeing a blank SHA # Prevent system notes from seeing a blank SHA
......
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