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 dafbbc7 commit 107ca20Copy full SHA for 107ca20
src/PowerShellEditorServices/Workspace/Workspace.cs
@@ -241,7 +241,7 @@ private IEnumerable<string> RecursivelyEnumerateFiles(string folderPath)
241
242
try
243
{
244
- IEnumerable<string> subDirs = Directory.EnumerateDirectories(folderPath);
+ IEnumerable<string> subDirs = Directory.GetDirectories(folderPath);
245
foreach (string dir in subDirs)
246
247
foundFiles =
@@ -274,7 +274,7 @@ private IEnumerable<string> RecursivelyEnumerateFiles(string folderPath)
274
275
276
foundFiles.Concat(
277
- Directory.EnumerateFiles(
+ Directory.GetFiles(
278
folderPath,
279
pattern));
280
}
0 commit comments