mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
[Build] Upgraded NetAnalyzers to 7.0.1 (#24792)
* upgraded NetAnalyzers to 7.0.1 * fix spellcheck * Microsoft.CodeAnalysis.NetAnalyzers 7.0.1 * rebase and fix
This commit is contained in:
committed by
GitHub
parent
5492b4ae62
commit
5cbe9dd911
@@ -25,9 +25,9 @@ namespace Wox.Plugin.Common
|
||||
public string GetLocalizedName(string path)
|
||||
{
|
||||
// Checking cache if path is already localized
|
||||
if (_localizationCache.ContainsKey(path.ToLowerInvariant()))
|
||||
if (_localizationCache.TryGetValue(path.ToLowerInvariant(), out string value))
|
||||
{
|
||||
return _localizationCache[path.ToLowerInvariant()];
|
||||
return value;
|
||||
}
|
||||
|
||||
Guid shellItemType = ShellItemTypeConstants.ShellItemGuid;
|
||||
|
||||
Reference in New Issue
Block a user