Ensure msbuild target test cleans up temp directory
This commit is contained in:
Родитель
2a2c06b3d5
Коммит
cbaeb7cfb3
|
@ -105,10 +105,11 @@ namespace Microsoft.Extensions.Configuration.UserSecrets
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// Directory.Delete(_tempDir, recursive: true);
|
Directory.Delete(_tempDir, recursive: true);
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
Console.Error.WriteLine($"Failed to delete '{_tempDir}' during test cleanup");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче