From 5a6230b6234947402e0f4cec71195cc810d80240 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Tue, 4 Feb 2020 00:14:09 +0200 Subject: [PATCH] create pm3 dir --- appveyor.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index d5c610aa0..dac0d6c82 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -43,15 +43,18 @@ clone_script: Write-Host "[ OK ]" -ForegroundColor Green - if(Test-Path -Path C:\ProxSpace\pm3){ + if(!(Test-Path -Path C:\ProxSpace\pm3)){ - Write-Host "Removing pm3 dir..." -NoNewLine + New-Item -ItemType Directory -Force -Path C:\ProxSpace\pm3 - Remove-Item -Recurse -Force -Path C:\ProxSpace\pm3\* + } + + Write-Host "Removing pm3 dir..." -NoNewLine - Write-Host "[ OK ]" -ForegroundColor Green + Remove-Item -Recurse -Force -Path c:\ProxSpace\pm3\* + + Write-Host "[ OK ]" -ForegroundColor Green - } Write-Host "Cloning repository <$env:appveyor_repo_name> to $env:appveyor_build_folder ..." -NoNewLine