Skip to content

Commit

Permalink
Make deactivate clean x86 root (#36759)
Browse files Browse the repository at this point in the history
- backport of #36717 to release/6.0

Co-authored-by: Doug Bunting <[email protected]>
  • Loading branch information
github-actions[bot] and dougbu authored Sep 20, 2021
1 parent 2063967 commit 6bdb0c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ function deactivate ([switch]$init) {
}

Remove-Item env:DOTNET_ROOT -ea ignore
Remove-Item 'env:DOTNET_ROOT(x86)' -ea Ignore
Remove-Item env:DOTNET_MULTILEVEL_LOOKUP -ea ignore
if (-not $init) {
# Remove the deactivate function
Expand Down

0 comments on commit 6bdb0c6

Please sign in to comment.