This commit is contained in:
Vladimir Safonkin 2021-02-03 15:15:56 +03:00
parent a3d47e556c
commit 843b5197ce
1 changed files with 3 additions and 3 deletions

View File

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