diff options
author | Rémy Coutable <remy@rymai.me> | 2017-11-20 14:24:49 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-11-20 14:25:07 +0300 |
commit | 0531ccc6fddbe8290c0bb83f6ea8e61a1d6e753c (patch) | |
tree | 1b2816b2980a55b6b38742d5bc8f7be068ad0439 /config/initializers | |
parent | 202ab62874bb3d828ab48017550660d461e8cf6b (diff) |
Fix offense to the LineBreakAfterGuardClauses cop
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'config/initializers')
-rw-r--r-- | config/initializers/gollum.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/initializers/gollum.rb b/config/initializers/gollum.rb index 2ca32791bb1..2fd47a3f4d3 100644 --- a/config/initializers/gollum.rb +++ b/config/initializers/gollum.rb @@ -21,8 +21,10 @@ module Gollum commit = @access.commit(sha) tree_map_for(sha).inject([]) do |list, entry| next list unless @page_class.valid_page_name?(entry.name) + list << entry.page(self, commit) break list if limit && list.size >= limit + list end else |