Use cmd for fast delete

This commit is contained in:
Victor Hurdugaci 2015-10-16 11:47:37 -07:00
parent 69ed946970
commit ec7d04a178
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ try
$destDir = Join-Path $remoteDir -ChildPath $projectName
if (Test-Path $destDir) {
Write-Host "$destDir already exists. Removing it..."
rmdir -Recurse "$destDir"
cmd /c rmdir /S /Q "$destDir"
}
Write-Host "Copying bundled application to $destDir ..."