small cleanup in BVT logs.
@@ -26,11 +26,11 @@ function FindBinFolder {
}
function CleanupUnpackFolder {
- if (Test-Path ".\..\unpack\*" )
+ if (Test-Path ".\..\unpack")
{
Remove-Item ".\..\unpack\*" -recurse
}
- elseif (Test-Path ".\..\unpack")
+ else
{
write-host "creating .\..\unpack"
New-Item -ItemType Directory -Force ".\..\unpack"
