1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-23 00:12:44 +00:00

TempFolder will be deleted if it exists, whether or not it has files in it.

This commit is contained in:
Mark McDowall 2011-12-12 00:05:18 -08:00
parent 30e30451c4
commit 8bfa34f23a

View file

@ -28,7 +28,7 @@ protected string VirtualPath
[SetUp]
public void TestBaseSetup()
{
if (Directory.Exists(TempFolder) && Directory.GetFiles(TempFolder, "*.*", SearchOption.AllDirectories).Any())
if (Directory.Exists(TempFolder))
{
Directory.Delete(TempFolder, true);
}