Add a wildcard pattern in front of the vsconfig extension to cover na… · microsoft/VSConfigFinder@3af153d (original) (raw)

Original file line number Diff line number Diff line change
@@ -91,7 +91,7 @@ public static void CreateOutput(IFileSystem fileSystem, ILogger logger, VSConfig
91 91 ///
92 92 public static string[] ReadComponents(IFileSystem fileSystem, CommandLineOptions options)
93 93 {
94 -var pathsToVsConfigs = fileSystem.GetFileSystemEntries(options.FolderPath, ConfigExtension, recursive: true);
94 +var pathsToVsConfigs = fileSystem.GetFileSystemEntries(options.FolderPath, "*" + ConfigExtension, recursive: true);
95 95
96 96 var componentsSet = new HashSet<string>(StringComparer.OrdinalIgnoreCase);
97 97 var serializerOptions = new JsonSerializerOptions