Skip to content

Commit b5af93c

Browse files
authored
Update HelpAnalyzer.cs
1 parent e3869ff commit b5af93c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ public void Analyze(IEnumerable<string> scopes)
8181
foreach (var directory in Directory.EnumerateDirectories(Path.GetFullPath(baseDirectory)))
8282
{
8383
var dirs = Directory.EnumerateDirectories(directory);
84-
if (dirs == null || !dirs.Any((d) => string.Equals(d, "help", StringComparison.OrdinalIgnoreCase)))
84+
if (dirs == null || !dirs.Any((d) => string.Equals(Path.GetFileName(d), "help", StringComparison.OrdinalIgnoreCase)))
8585
{
8686
AnalyzeMamlHelp(directory, helpLogger, processedHelpFiles, savedDirectory);
8787
}

0 commit comments

Comments
 (0)