summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/windows_path.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/resource/windows_path.rb b/lib/chef/resource/windows_path.rb
index fb47ec6791..5472a7e4fd 100644
--- a/lib/chef/resource/windows_path.rb
+++ b/lib/chef/resource/windows_path.rb
@@ -30,7 +30,7 @@ class Chef
def initialize(name, run_context = nil)
super
@resource_name = :windows_path
- @task_name = name
+ @path = name
@provider = Chef::Provider::WindowsPath
@action = :add
end