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 09cc338 commit 86ca456Copy full SHA for 86ca456
src/System.Management.Automation/engine/CommandCompletion/CompletionCompleters.cs
@@ -6096,7 +6096,7 @@ internal static List<CompletionResult> CompleteHelpTopics(CompletionContext cont
6096
6097
foreach (var dir in searchPaths)
6098
{
6099
- foreach (var file in Directory.GetFiles(dir))
+ foreach (var file in Directory.EnumerateFiles(dir))
6100
6101
if (wildcardPattern.IsMatch(Path.GetFileName(file)))
6102
0 commit comments