07d3d44775
And use .rubocop.yml to exclude paths we don't care, rather than using the cop itself to exclude.
7 lines
210 B
Ruby
7 lines
210 B
Ruby
module RendersCommits
|
|
def prepare_commits_for_rendering(commits)
|
|
Banzai::CommitRenderer.render(commits, @project, current_user) # rubocop:disable Gitlab/ModuleWithInstanceVariables
|
|
|
|
commits
|
|
end
|
|
end
|