From 6ade6c061b6b70bcf9e57331956f91ed08e107f7 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Wed, 3 Feb 2021 15:17:48 +0300 Subject: [PATCH] Minor fix --- __tests__/clear-toolcache.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/__tests__/clear-toolcache.ps1 b/__tests__/clear-toolcache.ps1 index 2f1c2e4..0867ae5 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 -eq "linux") { +if ($os -eq "Linux") { $pathsToClear = $linuxDotnetPaths } elseif ($os -eq "macOS") { $pathsToClear = $macOSDotnetPaths -} elseif ($os -eq "windows") { +} elseif ($os -eq "Windows") { $pathsToClear = $windowsDotnetPaths }