[PTRun][WindowsSettings] Enable analyzer and fix warnings (#16942)

This commit is contained in:
CleanCodeDeveloper
2022-03-10 17:00:28 +01:00
committed by GitHub
parent 94391775c8
commit 0d3aa3a187
4 changed files with 10 additions and 7 deletions

View File

@@ -134,7 +134,7 @@ namespace Microsoft.PowerToys.Run.Plugin.WindowsSettings
// Search for Area only on queries with action char.
if (area.Contains(query.Search.Replace(":", string.Empty), StringComparison.CurrentCultureIgnoreCase)
&& query.Search.EndsWith(":"))
&& query.Search.EndsWith(":", StringComparison.CurrentCultureIgnoreCase))
{
return true;
}