From 843b5197ce500bb7b7e8def544aa80759efad358 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Wed, 3 Feb 2021 15:15:56 +0300 Subject: [PATCH] Debug --- __tests__/clear-toolcache.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/__tests__/clear-toolcache.ps1 b/__tests__/clear-toolcache.ps1 index 1e702c5..2f1c2e4 100644 --- a/__tests__/clear-toolcache.ps1 +++ b/__tests__/clear-toolcache.ps1 @@ -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 }