summaryrefslogtreecommitdiff
path: root/rubocop/cop/migration/remove_column.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/migration/remove_column.rb')
-rw-r--r--rubocop/cop/migration/remove_column.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/remove_column.rb b/rubocop/cop/migration/remove_column.rb
index e53eb2e07b2..fffb4ab7fab 100644
--- a/rubocop/cop/migration/remove_column.rb
+++ b/rubocop/cop/migration/remove_column.rb
@@ -20,7 +20,7 @@ module RuboCop
send_method = send_node.children[1]
if send_method == :remove_column
- add_offense(send_node, :selector)
+ add_offense(send_node, location: :selector)
end
end
end