mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +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
@@ -439,9 +439,9 @@ namespace Microsoft.Plugin.Program.Programs
|
||||
paths.Add(path);
|
||||
}
|
||||
|
||||
if (_scaleFactors.ContainsKey(Package.Version))
|
||||
if (_scaleFactors.TryGetValue(Package.Version, out List<int> factors))
|
||||
{
|
||||
foreach (var factor in _scaleFactors[Package.Version])
|
||||
foreach (var factor in factors)
|
||||
{
|
||||
if (highContrast)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user