Debug
This commit is contained in:
1 parent
76a91b1af8
commit
347456b934
1 file changed
+7
-1
@@ -24,4 +24,10 @@ foreach ($path in $pathsToClear) {
|
||||
}
|
||||
}
|
||||
|
||||
Get-Command "dotnet --info"
|
||||
try {
|
||||
Get-Command "dotnet --info"
|
||||
Write-Host "dotnet was not removed"
|
||||
exit 1
|
||||
} catch {
|
||||
Write-Host "dotnet was removed successfully"
|
||||
}
|
||||
Reference in new issue
Block a user