diff options
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r-- | lib/chef/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb index 3f815b9eff..c6e1530707 100644 --- a/lib/chef/http.rb +++ b/lib/chef/http.rb @@ -514,7 +514,7 @@ class Chef content_length = response["Content-Length"] if tf.nil? tf = Tempfile.open("chef-rest") - if Chef::Platform.windows? + if ChefHelpers.windows? tf.binmode # required for binary files on Windows platforms end end |