forked from tildeverse/tilde.news
rubocop: Layout/MultilineMethodCallBraceLayout, 119
This commit is contained in:
parent
ff7db7c34d
commit
21e12dcd89
|
@ -30,6 +30,8 @@ Layout/EmptyLinesAroundExceptionHandlingKeywords:
|
|||
Enabled: false
|
||||
Layout/IndentHash:
|
||||
EnforcedStyle: consistent
|
||||
Layout/MultilineMethodCallBraceLayout:
|
||||
Enabled: false
|
||||
Layout/MultilineMethodCallIndentation:
|
||||
Enabled: false
|
||||
Layout/SpaceAroundOperators:
|
||||
|
|
|
@ -186,8 +186,7 @@ Comment.where(
|
|||
|
||||
thread = []
|
||||
indent_level = 0
|
||||
Comment.where(:thread_id => c.thread_id).arrange_for_user(
|
||||
nil).reverse.each do |cc|
|
||||
Comment.where(:thread_id => c.thread_id).arrange_for_user(nil).reverse.each do |cc|
|
||||
if indent_level > 0 && cc.indent_level < indent_level
|
||||
thread.unshift cc
|
||||
indent_level = cc.indent_level
|
||||
|
|
Loading…
Reference in New Issue
Block a user