mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-02-27 10:14:57 +00:00
TempFolder will be deleted if it exists, whether or not it has files in it.
This commit is contained in:
@@ -28,7 +28,7 @@ namespace NzbDrone.Test.Common
|
||||
[SetUp]
|
||||
public void TestBaseSetup()
|
||||
{
|
||||
if (Directory.Exists(TempFolder) && Directory.GetFiles(TempFolder, "*.*", SearchOption.AllDirectories).Any())
|
||||
if (Directory.Exists(TempFolder))
|
||||
{
|
||||
Directory.Delete(TempFolder, true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user