mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
spelling: locals in src/System.Management.Automation/singleshell
This commit is contained in:
1 parent
6386d26a8a
commit
b44e91e565
1 file changed
+4
-4
@@ -501,7 +501,7 @@ namespace System.Management.Automation
|
||||
|
||||
// PS V3 snapin information is stored under 1 registry key..
|
||||
// so no need to iterate over twice.
|
||||
Collection<string> filterdVersions = new Collection<string>();
|
||||
Collection<string> filteredVersions = new Collection<string>();
|
||||
foreach (string version in versions)
|
||||
{
|
||||
string temp = PSVersionInfo.GetRegisteryVersionKeyForSnapinDiscovery(version);
|
||||
@@ -510,13 +510,13 @@ namespace System.Management.Automation
|
||||
temp = version;
|
||||
}
|
||||
|
||||
if (!filterdVersions.Contains(temp))
|
||||
if (!filteredVersions.Contains(temp))
|
||||
{
|
||||
filterdVersions.Add(temp);
|
||||
filteredVersions.Add(temp);
|
||||
}
|
||||
}
|
||||
|
||||
foreach (string version in filterdVersions)
|
||||
foreach (string version in filteredVersions)
|
||||
{
|
||||
if (string.IsNullOrEmpty(version))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user