[vcpkg ci] Remove src as well

This commit is contained in:
Alexander Karatarakis 2018-10-09 20:14:26 -07:00
parent 276da906c5
commit efffda88f0

View File

@ -440,7 +440,7 @@ namespace vcpkg::Build
auto buildtree_files = fs.get_files_non_recursive(buildtrees_dir);
for (auto&& file : buildtree_files)
{
if (fs.is_directory(file) && file.filename() != "src")
if (fs.is_directory(file)) // Will only keep the logs
{
std::error_code ec;
fs.remove_all(file, ec);