Skip to content

Commit 2a32b05

Browse files
committed
Acceptance Test tweak
1 parent 0b90657 commit 2a32b05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.AcceptanceTests/AcceptanceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ static void Delete(string path)
215215
Directory.SetAccessControl(path, directorySecurity);
216216
}
217217

218-
if (!Directory.GetFiles(path).Any())
218+
if (! (Directory.GetFiles(path).Any() || Directory.GetDirectories(path).Any()))
219219
{
220220
Directory.Delete(path);
221221
}

0 commit comments

Comments
 (0)