Skip to content

Commit e362c04

Browse files
committed
Add parens
1 parent cc9139b commit e362c04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/cc/engine/rubocop.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def rubocop_team_for_path(path)
6565
end
6666

6767
def violation_positions(location)
68-
if location.is_a? RuboCop::Cop::Lint::Syntax::PseudoSourceRange
68+
if location.is_a?(RuboCop::Cop::Lint::Syntax::PseudoSourceRange)
6969
first_line = location.line
7070
last_line = location.line
7171
first_column = location.column

0 commit comments

Comments
 (0)