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.
2 parents c61b40e + b464895 commit 048a017Copy full SHA for 048a017
Rules/DscTestsPresent.cs
@@ -59,7 +59,7 @@ public IEnumerable<DiagnosticRecord> AnalyzeDSCResource(Ast ast, string fileName
59
if (Directory.Exists(expectedTestsPath))
60
{
61
DirectoryInfo testsFolder = new DirectoryInfo(expectedTestsPath);
62
- FileInfo[] testFiles = testsFolder.GetFiles(testsQuery);
+ FileInfo[] testFiles = testsFolder.GetFiles(testsQuery, SearchOption.AllDirectories);
63
if (testFiles.Length != 0)
64
65
testsPresent = true;
0 commit comments