Skip to content

Commit 0f7bdee

Browse files
Using a case-insensitive comparison
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent ce48958 commit 0f7bdee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/SearchManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private bool IsExcludedFile(SearchResult result)
258258
string[] excludedFileTypes = Settings.ExcludedFileTypes.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries);
259259
string fileExtension = Path.GetExtension(result.FullPath).TrimStart('.');
260260

261-
return excludedFileTypes.Contains(fileExtension);
261+
return excludedFileTypes.Contains(fileExtension, StringComparer.OrdinalIgnoreCase);
262262
}
263263
}
264264
}

0 commit comments

Comments
 (0)