summaryrefslogtreecommitdiff
path: root/lib/chef/formatters/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/formatters/base.rb')
-rw-r--r--lib/chef/formatters/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/formatters/base.rb b/lib/chef/formatters/base.rb
index 95170936a6..0a2e14abd3 100644
--- a/lib/chef/formatters/base.rb
+++ b/lib/chef/formatters/base.rb
@@ -221,7 +221,7 @@ class Chef
end
def is_structured_deprecation?(deprecation)
- deprecation.kind_of?(Chef::Deprecated::Base)
+ deprecation.is_a?(Chef::Deprecated::Base)
end
def is_formatter?