Skip to content

Commit fd5b9f3

Browse files
authored
Merge pull request #259 from koic/suppress_ruby_warning
Suppress Ruby's warning
2 parents a7d0605 + 417b89c commit fd5b9f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/rubocop/cop/rails/uniq_before_pluck.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ def on_send(node)
6767

6868
return unless method
6969

70-
add_offense(node, location: :selector,
71-
message: format(MSG, method: method))
70+
add_offense(node, location: :selector)
7271
end
7372

7473
def autocorrect(node)

0 commit comments

Comments
 (0)