mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-24 16:53:54 +00:00
TempFolder will be deleted if it exists, whether or not it has files in it.
This commit is contained in:
parent
30e30451c4
commit
8bfa34f23a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue