diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-14 18:12:56 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-09-14 18:12:56 +0300 |
commit | c014b6b4e5c33180dd5cbff1dd1bb4623d1eca80 (patch) | |
tree | 0aa4dbf0c9236ebd669b26240a18c08aef2cc50e /rubocop/code_reuse_helpers.rb | |
parent | 16daf112d6cfe2c87d8837382a00d88aa8c0ff5c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop/code_reuse_helpers.rb')
-rw-r--r-- | rubocop/code_reuse_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rubocop/code_reuse_helpers.rb b/rubocop/code_reuse_helpers.rb index 87b907f8778..245bbc31cbd 100644 --- a/rubocop/code_reuse_helpers.rb +++ b/rubocop/code_reuse_helpers.rb @@ -163,7 +163,7 @@ module RuboCop each_send_node(node) do |send_node| next unless send_receiver_name_ends_with?(send_node, suffix) - add_offense(send_node, location: :expression, message: message) + add_offense(send_node, message: message) end end |