summaryrefslogtreecommitdiff
path: root/lib/chef/http.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-01-12 08:22:09 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-01-12 08:22:09 -0800
commitc844e1c87374b18ee634a06a5325518631607c90 (patch)
tree59526dce9d78c30e40282e595d914cf703858663 /lib/chef/http.rb
parent0944320b72ee1ab16a18a149f5ecb743ace0c0d3 (diff)
downloadchef-c844e1c87374b18ee634a06a5325518631607c90.tar.gz
chefstyle: fix Lint/StringConversionInInterpolation
useless use of `"#{foo.to_s}"`
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r--lib/chef/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index 9f1eeed55f..a26e82f795 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -396,7 +396,7 @@ class Chef
if Chef::Platform.windows?
tf.binmode # required for binary files on Windows platforms
end
- Chef::Log.debug("Streaming download from #{url.to_s} to tempfile #{tf.path}")
+ Chef::Log.debug("Streaming download from #{url} to tempfile #{tf.path}")
# Stolen from http://www.ruby-forum.com/topic/166423
# Kudos to _why!