summaryrefslogtreecommitdiff
path: root/lib/chef/log.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/log.rb')
-rw-r--r--lib/chef/log.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/log.rb b/lib/chef/log.rb
index 5b22b3c00e..8d4fed56aa 100644
--- a/lib/chef/log.rb
+++ b/lib/chef/log.rb
@@ -51,7 +51,7 @@ class Chef
caller(0..20).select { |c| !c.start_with?(chef_gem_path) }.first
end
- def self.deprecation(msg=nil, location=caller(2..2)[0], &block)
+ def self.deprecation(msg = nil, location = caller(2..2)[0], &block)
if msg
msg << " at #{Array(location).join("\n")}"
msg = msg.join("") if msg.respond_to?(:join)