We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b90657 commit 2a32b05Copy full SHA for 2a32b05
src/ServiceControl.AcceptanceTests/AcceptanceTest.cs
@@ -215,7 +215,7 @@ static void Delete(string path)
215
Directory.SetAccessControl(path, directorySecurity);
216
}
217
218
- if (!Directory.GetFiles(path).Any())
+ if (! (Directory.GetFiles(path).Any() || Directory.GetDirectories(path).Any()))
219
{
220
Directory.Delete(path);
221
0 commit comments