This commit is contained in:
Vladimir Safonkin 2021-02-03 15:15:56 +03:00
parent a3d47e556c
commit 843b5197ce

View File

@ -8,11 +8,11 @@ $windowsDotnetPaths = @("$env:LocalAppData\Microsoft\dotnet/*", "$env:ProgramFil
$pathsToClear = @() $pathsToClear = @()
if ($os == "linux") { if ($os -eq "linux") {
$pathsToClear = $linuxDotnetPaths $pathsToClear = $linuxDotnetPaths
} elseif ($os == "macOS") { } elseif ($os -eq "macOS") {
$pathsToClear = $macOSDotnetPaths $pathsToClear = $macOSDotnetPaths
} elseif ($os == "windows") { } elseif ($os -eq "windows") {
$pathsToClear = $windowsDotnetPaths $pathsToClear = $windowsDotnetPaths
} }