microsoft / BuildXL

Microsoft Build Accelerator
MIT License
917 stars 146 forks source link

Keep running if targetDir is already deleted #1307

Closed NotWoods closed 2 years ago

NotWoods commented 2 years ago

Small change to downloadHelper to check if the removed directory existed. If the directory doesn't exist, keep running since there's nothing to delete.

Fixes first time runs.

mpysson commented 2 years ago

Hi @NotWoods,

Since you are a Microsoft employee, we ask that you please make this change to the Microsoft internal version of this repo. The changes will then be synchronized back to GitHub.

Thanks!