summaryrefslogtreecommitdiff
path: root/lib/chef/util/powershell/ps_credential.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/util/powershell/ps_credential.rb')
-rw-r--r--lib/chef/util/powershell/ps_credential.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/powershell/ps_credential.rb b/lib/chef/util/powershell/ps_credential.rb
index 32810b98a6..97c94c6d93 100644
--- a/lib/chef/util/powershell/ps_credential.rb
+++ b/lib/chef/util/powershell/ps_credential.rb
@@ -16,7 +16,7 @@
# limitations under the License.
#
-require "chef/win32/crypto" if Chef::Platform.windows?
+require "chef/win32/crypto" if ChefHelpers.windows?
class Chef::Util::Powershell
class PSCredential