From 53b5bae1f66156ef9945f7f584dbacc73e1d8bd9 Mon Sep 17 00:00:00 2001 From: Vladimir Safonkin Date: Wed, 3 Feb 2021 16:32:31 +0300 Subject: [PATCH] Debug --- __tests__/clear-installed-dotnet.ps1 | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/__tests__/clear-installed-dotnet.ps1 b/__tests__/clear-installed-dotnet.ps1 index 7dcbfa7..c92e0a2 100644 --- a/__tests__/clear-installed-dotnet.ps1 +++ b/__tests__/clear-installed-dotnet.ps1 @@ -20,14 +20,6 @@ if ($os -eq "Linux") { foreach ($path in $pathsToClear) { if (Test-Path $path) { Write-Host "Clear $path path" - # Remove-Item $path -Recurse -Force + Remove-Item $path -Recurse -Force } } - -try { - Get-Command "dotnet --info" - Write-Host "dotnet was not removed" - exit 1 -} catch { - Write-Host "dotnet was removed successfully" -} \ No newline at end of file