summaryrefslogtreecommitdiff
path: root/rubocop/cop/migration/add_column.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/migration/add_column.rb')
-rw-r--r--rubocop/cop/migration/add_column.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_column.rb b/rubocop/cop/migration/add_column.rb
index d2cf36c454a..2530d6477e8 100644
--- a/rubocop/cop/migration/add_column.rb
+++ b/rubocop/cop/migration/add_column.rb
@@ -29,7 +29,7 @@ module RuboCop
opts.each_node(:pair) do |pair|
if hash_key_type(pair) == :sym && hash_key_name(pair) == :default
- add_offense(node, :selector)
+ add_offense(node, location: :selector)
end
end
end