Skip to content

Commit 64f7bba

Browse files
Make deactivate clean x86 root (#36757)
Co-authored-by: Doug Bunting <[email protected]>
1 parent 07c465b commit 64f7bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activate.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function deactivate ([switch]$init) {
2525
}
2626

2727
Remove-Item env:DOTNET_ROOT -ea ignore
28+
Remove-Item 'env:DOTNET_ROOT(x86)' -ea Ignore
2829
Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore
2930
if (-not $init) {
3031
# Remove the deactivate function

0 commit comments

Comments
 (0)