diff --git a/__tests__/clear-installed-dotnet.ps1 b/__tests__/clear-installed-dotnet.ps1 index c2e6015..53776e8 100644 --- a/__tests__/clear-installed-dotnet.ps1 +++ b/__tests__/clear-installed-dotnet.ps1 @@ -2,9 +2,9 @@ $os = $args[0] $linuxDotnetPaths = @("/usr/share/dotnet", "$env:HOME/.dotnet") $macOSDotnetPaths = @("$env:HOME/.dotnet") -$windowsDotnetPaths = @("$env:LocalAppData\Microsoft\dotnet/*", +$windowsDotnetPaths = @("$env:HOME\.dotnet", "$env:ProgramFiles\dotnet/*", - "$env:HOME\.dotnet") + "$env:LocalAppData\Microsoft\dotnet/*") $pathsToClear = @()