summaryrefslogtreecommitdiff
path: root/lib/chef/provider/remote_file/local_file.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/remote_file/local_file.rb')
-rw-r--r--lib/chef/provider/remote_file/local_file.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/remote_file/local_file.rb b/lib/chef/provider/remote_file/local_file.rb
index 0719e5dbf7..e8a521763d 100644
--- a/lib/chef/provider/remote_file/local_file.rb
+++ b/lib/chef/provider/remote_file/local_file.rb
@@ -41,7 +41,7 @@ class Chef
def source_path
@source_path ||= begin
path = URI.unescape(uri.path)
- Chef::Platform.windows? ? fix_windows_path(path) : path
+ ChefHelpers.windows? ? fix_windows_path(path) : path
end
end