summaryrefslogtreecommitdiff
path: root/rubocop
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-03-28 10:29:08 +0000
committerLin Jen-Shin <godfat@godfat.org>2018-07-09 21:12:31 +0800
commit612f5e63b3cf76c354e50f4aa6c4163e5465b115 (patch)
tree86f4a608d914dfa359828d6e904db69d76d570db /rubocop
parentacdac151f51a9f719e7ebbdf7811c3460113a8fb (diff)
downloadgitlab-ce-612f5e63b3cf76c354e50f4aa6c4163e5465b115.tar.gz
Update rubocop to get rid of a warning in other MR
Diffstat (limited to 'rubocop')
-rw-r--r--rubocop/cop/line_break_around_conditional_block.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/rubocop/cop/line_break_around_conditional_block.rb b/rubocop/cop/line_break_around_conditional_block.rb
index 8b6052fee1b..011f2bcf8bf 100644
--- a/rubocop/cop/line_break_around_conditional_block.rb
+++ b/rubocop/cop/line_break_around_conditional_block.rb
@@ -43,6 +43,8 @@ module RuboCop
# end
# end
class LineBreakAroundConditionalBlock < RuboCop::Cop::Cop
+ include RangeHelp
+
MSG = 'Add a line break around conditional blocks'
def on_if(node)