summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/prism/node_ext.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/prism/node_ext.rb b/lib/prism/node_ext.rb
index 4dfcebd638..0234ad1a91 100644
--- a/lib/prism/node_ext.rb
+++ b/lib/prism/node_ext.rb
@@ -9,7 +9,7 @@ module Prism
location = location[0].label if location
suggest = replacements.map { |replacement| "#{self.class}##{replacement}" }
- warn(<<~MSG, category: :deprecated)
+ warn(<<~MSG)
[deprecation]: #{self.class}##{location} is deprecated and will be \
removed in the next major version. Use #{suggest.join("/")} instead.
#{(caller(1, 3) || []).join("\n")}