diff options
| author | Billy O'Neal <bion@microsoft.com> | 2021-08-02 15:16:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-02 15:16:08 -0700 |
| commit | 6b6b1e3b0b4af84da16297dd51fab9570b4b472d (patch) | |
| tree | 9b4fe4245743ea2c6e1be32f874b61d4904122b1 | |
| parent | 403c952a0c6496e07cdf995114fe8b9ae5e1f65c (diff) | |
| download | vcpkg-6b6b1e3b0b4af84da16297dd51fab9570b4b472d.tar.gz vcpkg-6b6b1e3b0b4af84da16297dd51fab9570b4b472d.zip | |
Avoid rmdir the downloads directory is nonexistent. (#19314)
| -rw-r--r-- | scripts/azure-pipelines/windows/azure-pipelines.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/azure-pipelines/windows/azure-pipelines.yml b/scripts/azure-pipelines/windows/azure-pipelines.yml index c70eab86b..7bd1cab0f 100644 --- a/scripts/azure-pipelines/windows/azure-pipelines.yml +++ b/scripts/azure-pipelines/windows/azure-pipelines.yml @@ -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 ***'
|
