Skip to content

Commit d90d115

Browse files
minor fix
1 parent e6c9338 commit d90d115

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Program/Programs

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ private static IEnumerable<Win32> PATHPrograms(string[] suffixes)
389389
}
390390

391391
var toFilter = new List<string>();
392-
var paths = pathEnv.Split(";", StringSplitOptions.RemoveEmptyEntries).ToList().ConvertAll(x => x.ToLower()).Distinct();
392+
var paths = pathEnv.Split(";", StringSplitOptions.RemoveEmptyEntries).DistinctBy(p => p.ToLower());
393393

394394
foreach (var path in paths)
395395
{

0 commit comments

Comments
 (0)