Avoid rmdir the downloads directory is nonexistent. (#19314)

This commit is contained in:
Billy O'Neal 2021-08-02 15:16:08 -07:00 committed by GitHub
parent 403c952a0c
commit 6b6b1e3b0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,7 +29,7 @@ jobs:
- script: .\bootstrap-vcpkg.bat
displayName: 'Bootstrap vcpkg'
- script: |
rmdir /S /Q ${{ variables.VCPKG_DOWNLOADS }} 2>&1
if exist ${{ variables.VCPKG_DOWNLOADS }} rmdir /S /Q ${{ variables.VCPKG_DOWNLOADS }} 2>&1
displayName: 'Clean downloads'
- task: PowerShell@2
displayName: '*** Test Modified Ports and Prepare Test Logs ***'