We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8056bdc commit 930584aCopy full SHA for 930584a
lib/rubocop/cop/rails/eager_evaluation_log_message.rb
@@ -45,12 +45,10 @@ def on_send(node)
45
return if node.parent&.block_type?
46
47
interpolated_string_passed_to_debug(node) do |arguments|
48
- message = format(MSG)
49
-
50
range = replacement_range(node)
51
replacement = replacement_source(node, arguments)
52
53
- add_offense(range, message: message) do |corrector|
+ add_offense(range) do |corrector|
54
corrector.replace(range, replacement)
55
end
56
0 commit comments