summaryrefslogtreecommitdiff
path: root/app/controllers/concerns/renders_commits.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/concerns/renders_commits.rb')
-rw-r--r--app/controllers/concerns/renders_commits.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/concerns/renders_commits.rb b/app/controllers/concerns/renders_commits.rb
index b1c9b1e532f..f48e0586211 100644
--- a/app/controllers/concerns/renders_commits.rb
+++ b/app/controllers/concerns/renders_commits.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
module RendersCommits
def limited_commits(commits)
if commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE