diff options
Diffstat (limited to 'lib/chef/provider/registry_key.rb')
-rw-r--r-- | lib/chef/provider/registry_key.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/registry_key.rb b/lib/chef/provider/registry_key.rb index 7c7b190b95..e6412858ce 100644 --- a/lib/chef/provider/registry_key.rb +++ b/lib/chef/provider/registry_key.rb @@ -36,7 +36,7 @@ class Chef include Chef::Mixin::Checksum def running_on_windows! - unless Chef::Platform.windows? + unless ChefHelpers.windows? raise Chef::Exceptions::Win32NotWindows, "Attempt to manipulate the windows registry on a non-windows node" end end |