diff options
author | mwrock <matt@mattwrock.com> | 2020-10-01 11:09:31 -0700 |
---|---|---|
committer | mwrock <matt@mattwrock.com> | 2020-10-01 16:32:54 -0700 |
commit | 18c528980b5a1f63296d82208024006982bf97d5 (patch) | |
tree | a9fd06a071cf339b73c7a917113ae887a2339acb /lib/chef/powershell.rb | |
parent | 9833cc34a88ef149c8a8565880440102068345bb (diff) | |
download | chef-18c528980b5a1f63296d82208024006982bf97d5.tar.gz |
fix chefstyle and spellcheck
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'lib/chef/powershell.rb')
-rw-r--r-- | lib/chef/powershell.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/powershell.rb b/lib/chef/powershell.rb index 70905ba7ba..5063e599c6 100644 --- a/lib/chef/powershell.rb +++ b/lib/chef/powershell.rb @@ -35,6 +35,7 @@ class Chef # @return [Object] output def initialize(script) raise "Chef::PowerShell can only be used on the Windows platform." unless RUBY_PLATFORM.match?(/mswin|mingw32|windows/) + @dll ||= "Chef.PowerShell.Wrapper.dll" exec(script) end |