Skip to content

Commit 6c55cb6

Browse files
committed
Suppress a RuboCop's offense
This commit suppresses the following RuboCop's offense: ```console $ bundle exec rake (snip) lib/rubocop/rails/schema_loader/schema.rb:181:11: C: [Corrected] Style/SuperArguments: Call super without arguments and parentheses when the signature is identical. super(node) ^^^^^^^^^^^ 294 files inspected, 1 offense detected, 1 offense corrected ```
1 parent f49ee58 commit 6c55cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubocop/rails/schema_loader/schema.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class AddIndex < Index
178178
attr_reader :table_name
179179

180180
def initialize(node)
181-
super(node)
181+
super
182182

183183
@table_name = node.first_argument.value
184184
@columns, @expression = build_columns_or_expr(node.arguments[1])

0 commit comments

Comments
 (0)