summaryrefslogtreecommitdiff
path: root/lib/chef/pwsh.rb
diff options
context:
space:
mode:
authormwrock <matt@mattwrock.com>2020-10-01 11:09:31 -0700
committermwrock <matt@mattwrock.com>2020-10-01 16:32:54 -0700
commit18c528980b5a1f63296d82208024006982bf97d5 (patch)
treea9fd06a071cf339b73c7a917113ae887a2339acb /lib/chef/pwsh.rb
parent9833cc34a88ef149c8a8565880440102068345bb (diff)
downloadchef-18c528980b5a1f63296d82208024006982bf97d5.tar.gz
fix chefstyle and spellcheck
Signed-off-by: mwrock <matt@mattwrock.com>
Diffstat (limited to 'lib/chef/pwsh.rb')
-rw-r--r--lib/chef/pwsh.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/pwsh.rb b/lib/chef/pwsh.rb
index 817cf39e5a..d7604b4422 100644
--- a/lib/chef/pwsh.rb
+++ b/lib/chef/pwsh.rb
@@ -46,10 +46,10 @@ class Chef
# location, we revert these variables after the script completes.
original_dml = ENV["DOTNET_MULTILEVEL_LOOKUP"]
original_dotnet_root = ENV["DOTNET_ROOT"]
-
+
ENV["DOTNET_MULTILEVEL_LOOKUP"] = "0"
ENV["DOTNET_ROOT"] = RbConfig::CONFIG["bindir"]
-
+
super
ensure
ENV["DOTNET_MULTILEVEL_LOOKUP"] = original_dml