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 a68a635 commit e3a5858Copy full SHA for e3a5858
tools/StaticAnalysis/HelpAnalyzer/HelpAnalyzer.cs
@@ -203,7 +203,7 @@ private void AnalyzeMarkdownHelp(
203
return;
204
}
205
206
- var cmdletFiles = cmdletResult.Select(c => c.ToString().Substring(2));
+ var cmdletFiles = cmdletResult.Where(i => i != null && !string.IsNullOrWhiteSpace(i.ToString()) && i.ToString().Length > 2).Select(c => c.ToString().Substring(2));
207
if (cmdletFiles.Any())
208
{
209
List<CmdletHelpMetadata> allCmdlets = new List<CmdletHelpMetadata>();
0 commit comments