summaryrefslogtreecommitdiff
path: root/rubocop/cop/project_path_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'rubocop/cop/project_path_helper.rb')
-rw-r--r--rubocop/cop/project_path_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/cop/project_path_helper.rb b/rubocop/cop/project_path_helper.rb
index 3e1ce71ac06..f3810622eb1 100644
--- a/rubocop/cop/project_path_helper.rb
+++ b/rubocop/cop/project_path_helper.rb
@@ -17,7 +17,7 @@ module RuboCop
return unless method_name(namespace_expr) == :namespace
return unless receiver(namespace_expr) == project_expr
- add_offense(node, :selector)
+ add_offense(node, location: :selector)
end
def autocorrect(node)