Skip to content

Commit e8d2d81

Browse files
Make deactivate clean x86 root (#36758)
Co-authored-by: Doug Bunting <[email protected]>
1 parent 5607e64 commit e8d2d81

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)